一般檢查Command
show flash:查看交換機記憶體中的memory images版本
show version:Software version, uptime, and last reload
show module:顯示交換機上的所有模組類型及工作狀態
show chassis:顯示Swtich的MAC address、電源、溫度及風扇的工作狀態
show statistic:查看埠的流量狀態
show interface brief:Interface status
show vlan:查看VLAN設定狀況
show telnet:IP address of active telnet session
show trunk:Configured and active trunk groups
show tech-support: Details for assistance in troubleshooting when working with Support
(批次處理命令show configuration、show version、show interface、show statistics、show
logging、dm statistics、dm save_area)
show ip:IP address and mask informatio
show span:Spanning tree information
show mac-address:MAC forwarding table
show mac-address stat:交換機上各個埠的MAC位址分佈情況
show cpu:顯示CPU使用狀況
show log:顯示告警資訊或日誌資訊記錄
show arp:ARP解析狀況
show ip route:查看路由狀況
show ip cache:查看IP轉發的狀況
show ip interface:顯示Layer 3 port的狀態
OSPF相關Command
show ip ospf interface:顯示OSPF鄰接狀態,埠OSPF參數,埠IP位址,鄰居路由器的IP位址
show ip ospf neighbor:顯示OSPF是否已與別台Router建立鄰居狀態
show ip ospf route: Displays only routes learned through OSPF
show ip ospf database:Displays the OSPF link state database
show ip ospf area:Displays information on all of the defined areas
show ip ospf virtual-link :Displays information about configured Virtual Links; make sure that you see “ptr 2 ptr”; if you don't, your Virtual Link is not active
show ip ospf trap:Displays the state of all OSPF-related SNMP traps defined
show ip ospf border:Displays information about all ABRs and ASBRs
show ip ospf config :This command is often overlooked, but it's awfully handy if you've got a switch with a very large config; this will show you just the section of the config pertaining to OSPF
BGP相關Command
show ip bgp neighbor:查看BGP鄰居的狀態資訊
show ip bgp route : Displays only routes learned through BGP; this command includes the AS Path, next hop, and other details of each route
show ip bgp summary:Display of all of your neighbors (peers), what state they're in, how many routes they've sent and received, how long the session's been up,and more; all in a nifty little table
show ip bgp config:show you just the section of the config pertaining to BGP
沒有留言:
張貼留言