⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 telianet.tcl

📁 Isisns is an extension of Network Simulator (ns) for the IS-IS routing protocol. It is focused on si
💻 TCL
字号:
source ../../tcl/isisnodes.tclsource ../../tcl/ns-rtProtoISIS.tclset ns [new Simulator]$ns use-scheduler Calendar$ns rtproto ISISset nf [open out.nam w]$ns namtrace-all $nfset in [new ISISNodes]$in buildnet 4 24 40 3 10#$in maketranslateputs stderr "[$ns get-number-of-nodes]"proc init {} {    global n ns nf    $ns ISISchangeCost 10    $ns ISIScmd log telianet.log    $ns readISISconfig isis.conf    $ns ISIScmd run}proc finish {} {    global ns nf    $ns flush-trace    close $nf    $ns ISIScmd finish#    exec nam out.nam    exit 0}for {set i 0} {$i < 20} {incr i} {    $in linkevent_a-d [expr 10 + $i * 0.000001] cost}$ns at 0 "init"for {set i 0} {$i < 31} {incr i} {    $ns at $i "puts stderr $i"}$ns at 9.9 "$ns setISISparam lspDelay 0"$ns at 9.9 "$ns setISISparam lspThrottle 33"$ns at 9.9 "$ns setISISparam SPFdelay 5500"$ns at 30 "finish"$ns run

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -