| 场景 | 单口故障定位、链路质量评估 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | display interface GigabitEthernet / show interfaces / display interface GigabitEthernet |
华为 VRP
华为 VRP
<Huawei> display interface GigabitEthernet 0/0/1
GigabitEthernet0/0/1 current state : UP
Line protocol current state : UP
Last physical up time : 2026-10-01 09:00:01
Duplex: FULL, Negotiation: ENABLE
Last 300 seconds input rate: 1024 bits/sec ! 近 5 分钟速率
Input error: 0, Output error: 0思科 IOS
思科 IOS
SW-CORE-01# show interfaces GigabitEthernet1/0/1
GigabitEthernet1/0/1 is up, line protocol is up (connected)
hardware is Gigabit Ethernet, address is 0011.2233.4455
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
5 minute input rate 1000 bits/sec
0 input errors, 0 CRC, 0 output errorsH3C Comware
H3C Comware
<H3C> display interface GigabitEthernet 1/0/1
GigabitEthernet1/0/1
Current state: UP
Line protocol state: UP
Last link flapping: never
Bandwidth: 1000000kbps
Duplex: full, Speed: 1000M
Input (total): 12345 packets输出都包含:状态、双工/速率、近 5 分钟速率、错误计数、最后 up/flap 时间。华为关注 Last physical up time 与 Last 300 seconds rate;思科关注 5 minute input/output rate 与 CRC;H3C 关注 Last link flapping 与带宽。