next up previous contents index
Next: 8. Emulation Up: 33. Session-level Packet Distribution Previous: 33.3.2 Packet Forwarding

33.4 Commands at a glance

Following is a list of session-level related commands:

set ns [new SessionSim]
This command creates an instance of the sessionmode simulator.

$ns_ create-session node agent
This command creates and attaches a session-helper, which is basically a replicator, for the source <agent> created at the <node>.