雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1546|回复: 3

[转贴]cisco 未公开的命令

[复制链接]
发表于 2004-2-12 12:22:45 | 显示全部楼层 |阅读模式
chinamoon:<br>有一些命令,如:csim在CCIE实验室考试中使用,大家有空看看。<br><br>cisco 未公开的命令<br><br>Here you can find a collection of undocumented (not on Cisco Dokumentation CD or in online help) IOS commands: <br><br>csim <br>show interface switching <br>show ip ospf statistics <br>debug ip ospf monitor <br>ttcp <br>if-con <br>no snmp-server sparse-tables <br>who <br>show region <br>ps -c <br>quit <br>test aaa group radius <br> <br>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: <br>Sucessfull call: <br><br>wg1r1#csim start 089150 <br>csim: called number = 089150, loop count = 1 ping count = 0 <br>csim err csimDisconnected recvd DISC cid(21) <br>csim: loop = 1, failed = 1 <br>csim: call attempted = 1, setup failed = 1, tone failed = 0 <br><br>Call to a not defined number: <br><br>wg1r1#csim start 089151 <br>csim: called number = 089151, loop count = 1 ping count = 0 <br><br>csim err:csim_do_test Error peer not found <br><br><br>-------------------------------------------------------------------------------- <br>With show interface switching you can see in detail, which protocols are process, fast or elsewhere switched. It′s helpfull for traffic engineering: <br>wg1r1#sh interfaces switching <br>Ethernet0/0 <br>Throttle count 0 <br>Drops RP 0 SP 0 <br>SPD Flushes Fast 0 SSE 0 <br>SPD Aggress Fast 0 <br>SPD Priority Inputs 5700 Drops 0 <br><br>Protocol Path Pkts In Chars In Pkts Out Chars Out <br>Other Process 8821 983982 7806 468360 <br>Cache misses 0 <br>Fast 0 0 0 0 <br>Auton/SSE 0 0 0 0 <br>IP Process 32228 3339712 5786 611402 <br>Cache misses 0 <br>Fast 92667 8980418 133414 189720295 <br>Auton/SSE 0 0 0 0 <br>DEC MOP Process 0 0 130 10010 <br>Cache misses 0 <br>Fast 0 0 0 0 <br>Auton/SSE 0 0 0 0 <br>ARP Process 6440 386380 195 11700 <br>Cache misses 0 <br>Fast 0 0 0 0 <br>Auton/SSE 0 0 0 0 <br>CDP Process 0 0 1302 404922 <br>Cache misses 0 <br>Fast 0 0 0 0 <br>Auton/SSE 0 0 0 0 <br><br><br>-------------------------------------------------------------------------------- <br>With show ip ospf statistics you get detail informations about OSPF SPF. You can see the reasons for SPF and the calculation times: <br>London#show ip ospf statistic <br>Area 0: SPF algorithm executed 15 times <br><br>SPF calculation time <br>Delta T Intra D-Intra Summ D-Summ Ext D-Ext Total Reason <br>00:45:02 32 0 0 0 0 0 36 R, <br>00:41:00 28 0 0 0 0 0 28 R, N, <br>00:40:50 28 0 0 0 0 0 28 R, <br>00:38:13 28 0 0 0 4 0 32 R, X <br>00:34:18 24 0 0 0 4 0 32 R, N,SN,SA,X <br>00:07:37 24 0 0 0 0 0 36 R, <br>00:05:18 308 0 4 0 28 0 356 R, <br>00:04:05 24 0 0 0 4 0 28 R, <br>00:01:31 24 0 4 0 0 0 36 R, <br>00:01:21 24 0 0 4 0 0 36 R, <br><br><br>-------------------------------------------------------------------------------- <br>With debug ip ospf monitor you can monitor the OSPF SPF. <br>London#deb ip ospf monitor <br><br>OSPF spf monitoring debugging is on <br>2d04h: OSPF: 192.168.181.2 address 192.168.181.193 on TokenRing0 is dead, state DOWN <br>2d04h: OSPF: Schedule SPF in area 0 <br>Change in LS ID 0.0.0.0, LSA type R, <br>2d04h: OSPF: schedule SPF: spf_time 0ms wait_interval 187489656s <br>2d04h: %SYS-5-CONFIG_I: Configured from console by console <br>2d04h: OSPF: Start redist-scanning <br>2d04h: OSPF: Scan for redistribution <br>2d04h: OSPF: End scanning, Elapsed time 0ms <br>2d04h: %LINK-5-CHANGED: Interface TokenRing0, changed state to administratively down <br>2d04h: OSPF: Begin SPF at 0xB2CF100ms, process time 360ms <br>2d04h: spf_time 0ms, wait_interval 187489656s <br>2d04h: OSPF: End SPF at 0xB2CF120ms, Total elapsed time 32ms <br>2d04h: Intra: 24ms, Inter: 0ms, External: 0ms <br><br><br>-------------------------------------------------------------------------------- <br>Start a TCP data server/receiver for TCP performance testing between two Cisco 7500 router: <br>sh ver <br>Cisco Internetwork Operating System Software <br>IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(7), RELEASE SOFTWARE (fc1) <br><br>Router#ttcp <br>transmit or receive [receive]: transmit <br>Target IP address: 1.1.1.1 <br>perform tcp half close [n]: <br>send buflen [8192]: <br>send nbuf [2048]: <br>bufalign [16384]: <br>bufoffset [0]: <br>port [5001]: <br>sinkmode [y]: <br>buffering on writes [y]: <br>show tcp information at end [n]: <br><br>ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -&gt; 1.1.1.1 <br>%Connect failed: Destination unreachable; gateway or host down <br><br>Router#ttcp <br>transmit or receive [receive]: <br>perform tcp half close [n]: <br>receive buflen [8192]: <br>bufalign [16384]: <br>bufoffset [0]: <br>port [5001]: <br>sinkmode [y]: <br>rcvwndsize [4128]: <br>delayed ACK [y]: <br>show tcp information at end [n]: <br><br>ttcp-r: buflen=8192, align=16384/0, port=5001 <br>rcvwndsize=4128, delayedack=yes tcp <br><br><br>-------------------------------------------------------------------------------- <br>On Cisco 7500 you can connect you to the VIP boards for VIP commands (memory, cpu, etc.) <br>Router#if-con 2 con <br>Entering CONSOLE for VIP2 2 <br>Type &quot;^C^C^C&quot; or &quot;if-quit&quot; to end this session <br><br>VIP-Slot2&gt; <br>VIP-Slot2&gt;? <br>Exec commands: <br>clear Reset functions <br>disable Turn off privileged commands <br>disconnect Disconnect an existing network connection <br>enable Turn on privileged commands <br>exit Exit from the EXEC <br>help Des cription of the interactive help system <br>lock Lock the terminal <br>login Log in as a particular user <br>logout Exit from the EXEC <br>name-connection Name an existing network connection <br>ping Send echo messages <br>resume Resume an active network connection <br>set Set system parameter (not config) <br>show Show running system information <br>systat Display information about terminal lines <br>terminal Set terminal line parameters <br>traceroute Trace route to destination <br>where List active connections <br><br>VIP-Slot2&gt;en <br>VIP-Slot2#sh ver <br>Cisco Internetwork Operating System Software <br>IOS (tm) VIP Software (SVIP-DW-M), Version 12.0(7), RELEASE SOFTWARE (fc1) <br>Copyright (c) 1986-1999 by cisco Systems, Inc. <br>Compiled Wed 13-Oct-99 22:05 by phanguye <br>Image text-base: 0x60010920, data-base: 0x60224000 <br><br>ROM: System Bootstrap, Version 11.1(11368) [pgreenfi 17], INTERIM SOFTWARE <br><br>VIP-Slot2 uptime is 10 minutes <br>System restarted by power-on <br>Running default software <br><br>cisco VIP2 (R4700) processor (revision 0x02) with 8192K bytes of memory. <br>Processor board ID 00000000 <br>R4700 processor, Implementation 33, Revision 1.0 (512KB Level 2 Cache) <br>4 Ethernet/IEEE 802.3 interface(s) <br>1 FastEthernet/IEEE 802.3 interface(s) <br><br>Configuration register is 0x0 <br>VIP-Slot2#? <br>Exec commands: <br>cd Change current directory <br>clear Reset functions <br>clock Manage the system clock <br>configure Enter configuration mode <br>copy Copy from one file to another <br>debug Debugging functions (see also 'undebug') <br>delete Delete a file <br>dir List files on a filesystem <br>disable Turn off privileged commands <br>disconnect Disconnect an existing network connection <br>enable Turn on privileged commands <br>exit Exit from the EXEC <br>help Des cription of the interactive help system <br>lock Lock the terminal <br>login Log in as a particular user <br>logout Exit from the EXEC <br>more Display the contents of a file <br>name-connection Name an existing network connection <br>no Disable debugging functions <br>ping Send echo messages <br>pwd Display current working directory <br>reload Halt and perform a cold restart <br>resume Resume an active network connection <br>send Send a message to other tty lines <br>set Set system parameter (not config) <br>setup Run the SETUP command facility <br>show Show running system information <br>systat Display information about terminal lines <br>terminal Set terminal line parameters <br>test Test subsystems, memory, and interfaces <br>traceroute Trace route to destination <br>undebug Disable debugging functions (see also 'debug') <br>where List active connections <br>write Write running configuration to memory, network, or terminal <br><br>VIP-Slot2# <br><br><br>-------------------------------------------------------------------------------- <br>Router(config)#no snmp-server sparse-tables <br>Get the complete SNMP MIB table. On controller interface you get without this command e.g. no out bytes counter. With this commands you get every object with SNMP get-next. <br><br><br>-------------------------------------------------------------------------------- <br>who is a alias for show user. <br>Router#who <br>Line User Host(s) Idle Location <br>* 0 con 0 idle 00:00:00 <br>1 aux 0 idle 00:01:19 <br><br><br>-------------------------------------------------------------------------------- <br>Get more detail IOS informations: <br>Router#sh region <br>Region Manager: <br><br>Start End Size(b) Class Media Name <br><br><br>-------------------------------------------------------------------------------- <br><br>0x02700000 0x02FFFFFF 9437184 Iomem R/W iomem <br>0x60000000 0x60FFFFFF 16777216 Flash R/O flash <br>0x80000000 0x826FFFFF 40894464 Local R/W main <br>0x80008088 0x8071A2A3 7414300 IText R/O main:text <br>0x8071A2A4 0x8097FD93 2513648 IData R/W main:data <br>0x8097FD94 0x80A4E0CF 844604 IBss R/W main:bss <br>0x80A4E0D0 0x826FFFFF 30089008 Local R/W main:heap <br><br>-------------------------------------------------------------------------------- <br><br>router&gt; ps -c <br><br>Will list the process on the router in a &quot;better&quot; way then show process. <br><br>Many thanks for this command goes to Thomas Surber. <br><br><br>-------------------------------------------------------------------------------- <br><br>leaving a telnet session: normally with &quot;exit&quot; or &quot;ex&quot;. <br>do this very fast with &quot;q&quot; (quit) <br><br>Many thanks for this command goes to Peter Schmid. <br><br><br>-------------------------------------------------------------------------------- <br><br>test aaa group radius toto titi <br><br>To test radius on one router. <br><br>Many thanks for this command goes to Serge Baikof. <br><br><br>-------------------------------------------------------------------------------- <br>bgp common-administration <br>bgp dynamic-med-interval<br>bgp process-dpa <br><br>clear ip eigrp [as] event Clear IP-EIGRP event logs <br><br>clear ip eigrp [as] logging Stop IP-EIGRP event logging <br><br>config overwrite <br><br>debug dialer detailed <br><br>debug ip packet ... dump Outputs a hex &amp; ASCII dump of the packet's contents <br><br>debug isdn code <br><br>debug sanity <br><br>if-con attach to a vip console <br><br>if-cons <br><br>ip forwarding <br><br>ip forwarding accounting <br><br>ip forwarding accounting adjacency-update <br><br>ip forwarding accounting non-recursive <br><br>ip forwarding accounting per-prefix <br><br>ip forwarding accounting prefix-length <br><br>ip forwarding switch <br><br>ip forwarding traffic-statistics <br><br>ip forwarding traffic-statistics load-interval <br><br>ip forwarding traffic-statistics update-rate <br><br>ip igmp <br><br>ip igmp immediate-leave <br><br>ip igmp immediate-leave group-list <br><br>ip local-pool <br><br>ip ospf-name-lookup <br><br>ip slow-converge <br><br>ip spd <br><br>ip spd mode <br><br>ip spd mode aggressive <br><br>ip spd queue <br><br>ip spd queue max-threshold <br><br>ip spd queue min-threshold <br><br>memory scan Parity check for 7500 RSPs <br><br>modem-mgmt csm debug-rbs <br><br>no service password-recovery <br><br>service internal <br><br>set destination-preference <br><br>show alignment <br><br>show asp <br><br>show caller <br><br>show caller ip <br><br>show chunk <br><br>show chunk summary <br><br>show controller vip log <br><br>show controller vip tech <br><br>show fib <br><br>show fib drop <br><br>show fib interface <br><br>show fib interface detail <br><br>show fib interface loopback <br><br>show fib interface null <br><br>show fib interface statistics <br><br>show fib interface vlan <br><br>show fib linecard <br><br>show fib linecard detail <br><br>show fib not-cef-switched <br><br>show fib not-fib-switched <br><br>show hardware <br><br>show idb <br><br>show interface statis <br><br>show interface switching <br><br>show interfaces stat <br><br>show interface stat <br><br>show interfaces switching <br><br>show int switching <br><br>show ip eigrp event [as] [start# end#] IP-EIGRP Events <br><br>show ip eigrp sia-event [as] [start# end#] IP-EIGRP SIA event <br><br>show ip eigrp timers [as] IP-EIGRP Timers <br><br>show ip ospf bad-checksum <br><br>show ip ospf delete <br><br>show ip ospf delete-list <br><br>show ip ospf ev <br><br>show ip ospf events <br><br>show ip ospf maxage <br><br>show ip ospf maxage <br><br>show ip ospf statistics <br><br>show isdn active <br><br>show isdn history <br><br>show list <br><br>show list nonempty <br><br>show llc <br><br>show media <br><br>show media access-lists <br><br>show modem mapping <br><br>show parity <br><br>show parser <br><br>show parser links <br><br>show parser modes <br><br>show parser unresolved <br><br>show profile <br><br>show profile detail <br><br>show profile terse <br><br>show refuse-message <br><br>show region <br><br>show region address <br><br>show rsh <br><br>show rsh-disable-commands <br><br>show rsp <br><br>show slip <br><br>show slot <br><br>show snmp mib <br><br>show sum <br><br>show timers <br><br>snmp-server priority low <br><br>test crash makes the router crash <br><br>test ipc misc <br><br>test mbus power <br><br>ttcp <br><br><br><br>router bgp ... <br><br>bgp redistribute-internal <br><br>Usage: <br><br>Redistributing BGP into another protocol only redistributes E-BGP routes. Using this command in the BGP configuration will also redistribute I-BGP routes in the other routing-protocol. <br><br><br>Many thanks goes to Sanjeewa Alahakoon for this list of undocumented IOS commands.
发表于 2004-2-12 19:26:17 | 显示全部楼层
是CD中没有的?<br>那只有实验才知道了?<br>呵呵<br>哪些会造成不可恢复的后果?先另列出来吧.免得~~~到时候老大你会吐血
发表于 2004-2-12 20:36:51 | 显示全部楼层
cisco 未公开的命令    也就是说这是秘笈~大家快来看,可以打通关的秘笈耶~
发表于 2004-2-12 20:55:35 | 显示全部楼层
&lt;&lt;CCNA BOOTCAMP BIBLE&gt;&gt;<br>/:)<br>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-22 14:15 , Processed in 0.092285 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表