next up previous contents index
Next: 9. Nam and Animation Up: 34. Emulation Previous: 34.5 An Example

34.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 34.4 for details on network objects.