ruijie交換機常用查詢配置命令
推薦文檔:https://search.ruijie.com.cn:8902/kc/rqs/index.html#/d/2018092015040100166
1)查看設備當前的配置
Ruijie#show running-config
2)查看設備的軟件版本信息
Ruijie#show version
3)查看設備的日志
Ruijie#show log
4)查看設備的三層接口ip和掩碼
Ruijie#show ip interface brief
5)查看交換機所有接口的信息,包括狀態、vlan、雙工、速度和使用介質
Ruijie#show interface status
6)查看 TenGigabitEthernet 0/33接口的信息,包括mac地址,流量信息等等
Ruijie#show interface TenGigabitEthernet 0/33
7)查看交換接口所屬的vlan信息
Ruijie#show vlan
8、BGP鄰居匯總信息,一般查看BGP鄰居狀態、鄰居地址、鄰居AS號時,用這條命令比較多
show ip bgp summary
9、查看詳細的bgp鄰居信息
sh ip bgp nei
10、交換機查看端口相鄰的網絡設備,能看到臨近設備的IP地址等,超好用,
show lldp neighbors
show lldp neighbors detail
show lldp neighbors interface gigabitEthernet */* detail
11、查看路由
show ip route x.x.x.x
12、查看交換機的虛擬化(堆疊、獨立)
show switch virtual
13、使用 ?查詢命令補全
show xxx ?
14、include 過濾輸出
show run | include xxx
15、查詢系統日志
show logging
16、查詢接口收發光
show interfaces ten0/5 transceiver diagnosis
RX:收 TX:發
17、查詢接口up/down 變化次數
show interfaces link-state-change statistics
18、查詢接口CRC值,CRC持續的增長
show interfaces HundredGigabitEthernet 0/56 counters