12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PacketSize_ co<strong>ns</strong>tant size of packets gener<strong>at</strong>ed.burst_time_ average on time for gener<strong>at</strong>or.idle_time_ average off time for gener<strong>at</strong>or.r<strong>at</strong>e_ sending r<strong>at</strong>e during on time.Applic<strong>at</strong>ion/Traffic/Pareto Applic<strong>at</strong>ion/Traffic/Pareto objects gener<strong>at</strong>e On/Off traffic with burst times <strong>and</strong> idle times takenfrom pareto distributio<strong>ns</strong>. Configur<strong>at</strong>ion parameters are:PacketSize_ co<strong>ns</strong>tant size of packets gener<strong>at</strong>ed.burst_time_ average on time for gener<strong>at</strong>or.idle_time_ average off time for gener<strong>at</strong>or.r<strong>at</strong>e_ sending r<strong>at</strong>e during on time.shape_ the shape parameter used by pareto distribution.Applic<strong>at</strong>ion/Traffic/CBR CBR objects gener<strong>at</strong>e packets <strong>at</strong> a co<strong>ns</strong>tant bit r<strong>at</strong>e.$cbr startCauses the source to start gener<strong>at</strong>ing packets.$cbr stopCauses the source to stop gener<strong>at</strong>ing packets.Configur<strong>at</strong>ion parameters are:PacketSize_ co<strong>ns</strong>tant size of packets gener<strong>at</strong>ed.r<strong>at</strong>e_ sending r<strong>at</strong>e.interval_ (optional) interval between packets.r<strong>and</strong>om_ whether or not to introduce r<strong>and</strong>om noise in the scheduled departure times. defualt is off.maxpkts_ maximum number of packets to send.Applic<strong>at</strong>ion/Traffic/Trace Applic<strong>at</strong>ion/Traffic/Trace objects are used to gener<strong>at</strong>e traffic from a trace file. $trace <strong>at</strong>tach-tracefiletfileAttach the Tracefile object tfile to this trace. <strong>The</strong> Tracefile object specifies the trace file from which the traffic d<strong>at</strong>a isto be read. Multiple Applic<strong>at</strong>ion/Traffic/Trace objects can be <strong>at</strong>tached to the same Tracefile object. A r<strong>and</strong>om startingplace within the Tracefile is chosen for each Applic<strong>at</strong>ion/Traffic/Trace object.<strong>The</strong>re are no configur<strong>at</strong>ion parameters for this object.A simul<strong>at</strong>ed applic<strong>at</strong>ion object can be of two types, Telnet <strong>and</strong> FTP.Applic<strong>at</strong>ion/Telnet TELNET objects produce individual packets with inter-arrival times as follows. If interval_ is non-zero,then inter-arrival times are chosen from an exponential distribution with average interval_. If interval_ is zero, theninter-arrival times are chosen using the "tcplib" telnet distribution.$telnet startCauses the Applic<strong>at</strong>ion/Telnet object to start producing packets.$telnet stopCauses the Applic<strong>at</strong>ion/Telnet object to stop producing packets.$telnet <strong>at</strong>tach Attaches a Telnet object to agent.Configur<strong>at</strong>ion Parameters are:interval_ <strong>The</strong> average inter-arrival time in seconds for packets gener<strong>at</strong>ed by the Telnet object.339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!