Hello,
I am simulating a large network which uses a link state protocol ($ns
rtproto LS).
I wanted to find out if there is way to dump the routing table of each
router
i. on screen
ii. in a file
I would really appreciate if someone could help me out with this!
Thanks and Regards
Kanupriya
{} {
global ns nf *tracefile1*
$ns flush-trace
#Close the trace file
close $tracefile1
close $nf
#Execute nam on the trace file
exec nam out.nam
exit 0
}
On Sun, Nov 16, 2008 at 4:15 AM, kanupriya kabra [EMAIL PROTECTED]wrote:
hi
I am
hi
I am not able to collect the traces using trace-all command in NS2 (on
windows):
Here is a snapshot of my file
#Create a simulator object
set ns [new Simulator]
#Open the Trace file
set tracefile1 [open out.tr w]
$ns trace-all $tracefile1
#Open the nam trace file
set nf [open out.nam w]