Olá Elisabete,

>How can i print the routing table for all nodes in AOMDV?

In order to do that I always dig into the c++ files.
Answering your question in a easier way, try the following:

$ns at 10.0 "[node_($i) agent 255] dump-table"

Mind the dynamics of the routing table. It will change often. I used 10.0 in 
this example.

Hope this helps.

Regards,
Mateus

Date: Thu, 31 May 2012 21:52:21 +0100
From: "Elisabete Reis"<elr...@dei.uc.pt>
Subject: [ns] Routing table in AOMDV
To: "'ns-users@isi.edu'"<ns-users@isi.edu>
Message-ID:<000001cd3f6f$495ca320$dc15e960$@dei.uc.pt>
Content-Type: text/plain;       charset="us-ascii"

Hi all,



How can i print the routing table for all nodes in AOMDV?

I try the following command in tcl, like I can do to OLSR but give me error:



for { set I 0 } {$i<  $val(nn) } {incr i}

   [node_($i) agent 255] print_table;



Please, I appreciate some help.

Thanks in advance

E. Reis

Reply via email to