47.6 Commands at a glance

Following is a list of emulation related commands:

$ns_ use-scheduler RealTime
This command sets up the real-time scheduler. Note that a real-time scheduler should be used with any emulation facility. Otherwise it may result the simulated network running faster than real-time.

set netob [new Network/network-object-type]
This command creates an instance of a network object. Network objects are used to access a live network. Currently the types of network objects available are Network/Pcap/Live, Network/IP and Network/IP/UDP. See section 47.4 for details on network objects.

Tom Henderson 2011-11-05