01
思科交換機巡檢命令
1、show interface stats:查看交換機所有接口當(dāng)前接口流量
2、show running-config:查看當(dāng)前設(shè)備配置
3、show version:查看IOS版本信息及設(shè)備正常運行時間
4、show clock:查看設(shè)備時鐘信息
5、show vtp status:查看交換機vtp配置模式
6、show vtp password:查看交換機vtp配置口令
7、show env all:查看設(shè)備溫度,電源和風(fēng)扇運轉(zhuǎn)參數(shù)及是否報警
8、show inventory:調(diào)取設(shè)備內(nèi)部板卡出廠模塊型號及序列號
9、show spanning-tree root:查看交換機生成樹根位置
10、show cdp neighbors:查看鄰接cisco設(shè)備基本信息
11、show cdp neighbors detail:查看鄰接cisco設(shè)備詳細(xì)信息
12、show interface status:查看交換機接口狀態(tài)是否存在errordisable接口disable接口
13、show interface summary:查看交換機所有接口當(dāng)前接口流量
14、show interface |ierrors|FastEthernet|GigabitEthernet:查看接口是否存在大量input或output errors包錯誤
15、show processes cpu:查看設(shè)備cpu負(fù)載
16、show processes mem:查看設(shè)備mem負(fù)載
17、show access-list:查看訪問控制列表配置及匹配數(shù)據(jù)包數(shù)量
18、show logging:查看本機內(nèi)部日志記錄情況
19、show ip route:查看路由表
20、show firewall:檢查防火墻的工作模式
21、show conn count:檢查防火墻并發(fā)數(shù)
22、show xlate count:檢查防火墻nat工作狀態(tài)
02
華為/H3C交換機常用巡檢命令
system-view #進入系統(tǒng)視圖
user-interface vty 0 4 #vty就是用telnet/ssh遠(yuǎn)程進入交換機的界面(虛擬界面)
screen-length 0 #指定要在屏幕上顯示行數(shù),0默認(rèn)是沒有分頁(全部顯示)
01硬件狀態(tài)、IOS版本信息檢查
display?clock? #系統(tǒng)時間
display?version?#查看版本信息,最近一次重新啟動的時間
display?enviroment?#設(shè)備溫度
display?device?#單板運行狀態(tài)
display?device manuinfor #查看設(shè)備序列號
display?power?#查看電源狀況
display?fan? #查看風(fēng)扇狀況
display?cpu-usage? #查看cpu最近5S、1m、5m占用率
display?cpu?history?#查看cpu使用記錄
display cpu-usage task #查看CPU利用率
display?memory? #查看內(nèi)存大小和占用率
display logbuffer #日志緩沖區(qū)
dir flash: #查看flash
dis boot-loader #顯示軟件映像文件
display arp #查看arp表(目的IP與目的MAC的映射關(guān)系)
display mac-address #查看mac地址表(二層轉(zhuǎn)發(fā)通過mac地址表)
display ntp status #ntp狀態(tài)信息
reset counters interface #清除接口統(tǒng)計信息,方便下次巡檢查看接口錯誤包是否增加
display elabel #路由器設(shè)備命令—查看電子標(biāo)簽信息(華為)改用display device manuinfo
display ndp #路由器設(shè)備命令—華三V5版本支持,現(xiàn)在改用display lldp neighbor-information
display diagnostic-information #故障信息收集
02系統(tǒng)運行配置狀態(tài)檢查
display interface #接口流量、鏈路狀態(tài)
dis current-configuration inter #地址分配
dis current-configuration |include ospf #路由擴散
display ip routing-table #路由信息
display ip interface #顯示 vlan 端口統(tǒng)計數(shù)據(jù)
display saved-configuration #保存配置文件
display logbuffer #日志信息
display port trunk #查看參與 trunk 的端口
03STP 信息檢查
display stp root #查看 stp 根情況
display stp brief #查看 stp 簡單信息
display stp abnormal-port #查看是否有非正常端口
display stp region-configuration #生成樹區(qū)域配置
display lldp neighbor-information #查看鏈路層鄰居發(fā)現(xiàn)協(xié)議(鄰居信息)
display tcp status #路由器設(shè)備命令—tcp統(tǒng)計數(shù)據(jù)
display tcp statistics #交換機設(shè)備命令—tcp統(tǒng)計數(shù)據(jù)
04vrrp 和端口聚合檢查
display vrrp #查看虛擬路由冗余協(xié)議
display vrrp statistics #查看主備用狀態(tài)
display link-aggregation summary #查看鏈路聚合組的情況
-
華為
+關(guān)注
關(guān)注
216文章
35021瀏覽量
255004 -
交換機
+關(guān)注
關(guān)注
21文章
2720瀏覽量
101333 -
H3C
+關(guān)注
關(guān)注
0文章
504瀏覽量
21731 -
思科
+關(guān)注
關(guān)注
0文章
300瀏覽量
32504
原文標(biāo)題:思科、華為、H3C交換機巡檢命令大全
文章出處:【微信號:5G通信,微信公眾號:5G通信】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。
發(fā)布評論請先 登錄
CISCO 華為 H3C交換機 路由器
電信交換機收購 華為 H3C 思科 路由器 防火墻 業(yè)務(wù)板
【ETU-LINK】易天光模塊全面兼容H3C交換機等設(shè)備
思科路由器和交換機各種命令大全詳細(xì)資料說明

H3C交換機配置教程及H3C S5810系列交換機光模塊搭配
思科網(wǎng)絡(luò)交換機的6種命令配置模式
h3c交換機查看電源和風(fēng)扇模塊序列號

評論