set e [new Application/Traffic/CBR] \$e set packetSize\_ 48 \$e set rate\_ 64Kb \$e set random\_ 1
The setting of a CBR object's rate_ and interval_ are mutually exclusive (the interval between packets is maintained as an interval variable in C++, and some example scripts specify an interval rather than a rate). In a simulation, either a rate or an interval (but not both) should be specified for a CBR object.