需要在tcl中执行linux/win32命令,获得其stdout,stderr输出,和errno. 下面是我的一些尝试, 不行, 有高手说说看不? (bin) 3 % if [catch {exec "dir"} Chan] { > puts stdout "Sorry, ...\n" > } Sorry, ... (bin) 4 % get $Chan can not find channel named "couldn't execute "dir": no such file or directory" (bin) 5 % ===== bin) 5 % set x [split [dir] \n] { Volume in drive L is Library} { Volume Serial Number ...
RouterRouter#show ? Router#show running-config // 显示运行得参数 Router#show protocol // 显示协议 Serial Ethernet Bri Router#show flash // FLAH使用情况 Router#show clock // 时间 Router#show interface // 各接口情况 Router#show hosts CDP ----------------------------------------------------4 //[cisco Discovery ...
autostart = false [192.168.168.168] port = 7200 udp = 10000 [[router R1]] image = /root/dynamips/7200.bin npe = npe-400 model = 7200 console = 2000 ram = 90 confreg = 0x2102 idlepc = 0x60739214 mmap = true slot0=NM-4E slot1 = PA-4T f0/0 = SW1 1 s1/1 = R2 s1/0 s1/2 = FR1 1 [[router R2]] image = /root/dynamips/7200.bin npe = npe-40...
cisco 不是一个梦 只要花费你五秒钟时间打开如下网页 你的梦想将会走到你面前 将会使你的梦想成真 好好把握吧 www.china-node.com bbs.china-node.com
专业二手cisco网络设备回收及销售 生产厂家:cisco 120路语音 型号cisco as 5300 生产日期:2001 软件版本12.2(1a): 接口: 1 Ethernet/IEEE 802.3 interface(s) 1 FastEthernet/IEEE 802.3 interface(s) 4 Serial network interface(s) 4 Channelized E1/PRI port(s) 120 Voice resource(s): 处理器:R4700 CPU at 150Mhz 内存:System flash 16m Boot flash 8m 手机:13811056478 电话:010-62537445-805 QQ: 82164956...