Hi All,
I tried to use the network dynamic command

$ns rtmodel-at 1.0 down $n(1) $n(2)
$ns rtmodel-at 2.0 up $n(1) $n(2)

to fail and recover a link. But when i ran the tcl script, i got the 
following message:

Nam syntax has changed: v -t 2 link-up 2 2 1
Please use this format in the future.
v -t <time> -e <tcl expression>

I then changed the syntax to
v 1.0 link-down 1 2
v 2.0 link-up 1 2.

The result i got was this:
$ ns new3.tcl
invalid command name "v"
    while executing
"v 1.0 link-down 1 2"
    (file "new3.tcl" line 50)

Please can someome tell me what I am doing wrong?
Regards.

Onyekachi.

Reply via email to