【发布时间】:2015-01-24 11:09:58
【问题描述】:
我已经为ns2 安装了OSPF patch 并且它安装正确。现在,当我尝试使用命令ns ospf0.tcl 运行同一补丁的tcl 示例时,它会出现此错误:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)
Here有人说indicates a failed build. (Or you are using a wrong executable 'ns'.),但是补丁安装没有错误。我曾经使用ns 在没有补丁和没有OSPF 的情况下顺利运行tcl 文件。我有ubuntu 14.04 和ns2 2.35 并应用了10-ospf4ns2.34 补丁。有什么想法有什么问题吗?如果有人只是给我nam 文件来模拟甚至跟踪文件,那也会非常有帮助。
【问题讨论】: