| 场景 | 例行巡检、链路故障初判 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | display interface brief / show ip interface brief + show interfaces status / display interface brief |
华为 VRP
华为 VRP
<Huawei> display interface brief
PHY: Physical *down: administratively down
Interface PHY Protocol InUti OutUti inErrors outErrors
GE0/0/1 up up 1% 1% 0 0
GE0/0/2 down down 0% 0% 0 0思科 IOS
思科 IOS
SW-CORE-01# show interfaces status
Port Name Status Vlan Duplex Speed Type
Gi1/0/1 connected 10 a-full a-1000 10/100/1000BaseTX
Gi1/0/2 notconnect 10 auto auto 10/100/1000BaseTX
SW-CORE-01# show ip interface brief ! 三层口看 IP/状态/协议H3C Comware
H3C Comware
<H3C> display interface brief
Interface Link Speed Duplex Type PVID Description
GE1/0/1 UP 1000M Full A 10
GE1/0/2 DOWN auto auto A 10
! Comware 5 老设备用 display brief interface思科要分开看:二层链路用 show interfaces status(带 VLAN/双工/速率列),三层协议用 show ip interface brief;华为/H3C 一条 display interface brief 同时给物理/协议状态与入出方向利用率,巡检效率更高。