Questions tagged «cisco-eem»

1
Cisco EEM 3.0中的TCP客户端/服务器
我正在尝试使用IOS版本12.4(24)T8在Cisco EEM 3.0 TCL中设置客户端/服务器套接字(最近进行了升级,以确定问题是否为EEM ver)。 我有以下两个示例Tcl脚本(参考:http : //wiki.tcl.tk/15315) Server.tcl: ::cisco::eem::event_register_none maxrun 120 namespace import ::cisco::eem::* namespace import ::cisco::lib::* proc accept {chan addr port} { puts "$addr:$port says [gets $chan]" puts $chan goodbye close $chan } socket -server accept 12345 vwait forever Client.tcl: ::cisco::eem::event_register_none maxrun 20 namespace import ::cisco::eem::* namespace import …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.