|
Here you can find a collection of undocumented (not on Cisco Dokumentation CD or in online help) IOS commands:
csim show interfacetching show ip ospf statistics debug ip ospf monitor ttcp if-con no snmp-server sparse-tables who show region ps -c quit test aaa group radius list of more and more undocumented commands If you know more undocumented IOS commands for this collection, please send me a e-mail.
-------------------------------------------------------------------------------- With the command csim you can emulate a voice call. It′s like sombody calls the specified number. Usefull, if you don′t have physically access to telephone: Sucessfull call:
wg1r1#csim start 089150 csim: called number = 089150, loop count = 1 ping count = 0 csim err csimDisconnected recvd DISC cid(21) csim: loop = 1, failed = 1 csim: call attempted = 1, setup failed = 1, tone failed = 0
Call to a not defined number:
wg1r1#csim start 089151 csim: called number = 089151, loop count = 1 ping count = 0
csim err:csim_do_test Error peer not found
-------------------------------------------------------------------------------- With show interfacetching you can see in detail, which protocols are process, fast or elsewheretched. It′s helpfull for traffic engineering: wg1r1#sh interfacestching Ethernet0/0 Throttle count 0 Drops RP 0 SP 0 SPD Flushes Fast 0 SSE 0 SPD Aggress Fast 0 SPD Priority Inputs 5700 Drops 0
Protocol Path Pkts In Chars In Pkts Out Chars Out Other Process 8821 983982 7806 468360 Cache misses 0 Fast 0 0 0 0 Auton/SSE 0 0 0 0 IP Process 32228 3339712 5786 611402 Cache misses 0 Fast 92667 8980418 133414 189720295 Auton/SSE 0 0 0 0 DEC MOP Process 0 0 130 10010 Cache misses 0 Fast 0 0 0 0 Auton/SSE 0 0 0 0 ARP Process 6440 386380 195 11700 Cache misses 0 Fast 0 0 0 0 Auton/SSE 0 0 0 0 CDP Process 0 0 1302 404922 Cache misses 0 Fast 0 0 0 0 Auton/SSE 0 0 0 0
-------------------------------------------------------------------------------- With show ip ospf statistics you get detail informations about OSPF SPF. You can see the reasons for SPF and the calculation times: London#show ip ospf statistic Area 0: SPF algorithm executed 15 times
SPF calculation time Delta T Intra D-Intra Summ D-Summ Ext D-Ext Total Reason 00:45:02 32 0 0 0 0 0 36 R, 00:41:00 28 0 0 0 0 0 28 R, N, 00:40:50 28 0 0 0 0 0 28 R, 00:38:13 28 0 0 0 4 0 32 R, X 00:34:18 24 0 0 0 4 0 32 R, N,SN,SA,X 00:07:37 24 0 0 0 0 0 36 R, 00:05:18 308 0 4 0 28 0 356 R, 00:04:05 24 0 0 0 4 0 28 R, 00:01:31 24 0 4 0 0 0 36 R, 00:01:21 24 0 0 4 0 0 36 R,
-------------------------------------------------------------------------------- With debug ip ospf monitor you can monitor the OSPF SPF. London#deb ip ospf monitor
OSPF spf monitoring debugging is on 2d04h: OSPF: 192.168.181.2 address 192.168.181.193 on TokenRing0 is dead, state DOWN 2d04h: OSPF: Schedule SPF in area 0 Change in LS ID 0.0.0.0, LSA type R, 2d04h: OSPF: schedule SPF: spf_time 0ms wait_interval 187489656s 2d04h: %SYS-5-CONFIG_I: Configured from console by console 2d04h: OSPF: Start redist-scanning 2d04h: OSPF: Scan for redistribution 2d04h: OSPF: End scanning, Elapsed time 0ms 2d04h: %LINK-5-CHANGED: Interface TokenRing0, changed state to administratively down 2d04h: OSPF: Begin SPF at 0xB2CF100ms, process time 360ms 2d04h: spf_time 0ms, wait_interval 187489656s 2d04h: OSPF: End SPF at 0xB2CF120ms, Total elapsed time 32ms 2d04h: Intra: 24ms, Inter: 0ms, External: 0ms
-------------------------------------------------------------------------------- Start a TCP data server/receiver for TCP performance testing between two Cisco 7500 router: sh ver Cisco Internetwork Operating System Software IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(7), RELEASE SOFTWARE (fc1)
Router#ttcp transmit or receive [receive]: transmit Target IP address: 1.1.1.1 perform tcp half close [n]: send buflen [8192]: send nbuf [2048]: bufalign [16384]: bufoffset [0]: port [5001]: sinkmode [y]: buffering on writes [y]: show tcp information at end [n]:
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 1.1.1.1 %Connect failed: Destination unreachable; gateway or host down
Router#ttcp transmit or receive [receive]: perform tcp half close [n]: receive buflen [8192]: bufalign [16384]: bufoffset [0]: port [5001]: sinkmode [y]: rcvwndsize [4128]: delayed ACK [y]: show tcp information at end [n]:
ttcp-r: buflen=8192, align=16384/0, port=5001 rcvwndsize=4128, delayedack=yes tcp
[1] [2] [3] [4] 下一页 |