首页/网络/网络设备配置速查/单接口详细信息查看
本包目录(508 条)
设备开局与基础配置61 条
接口与链路73 条
VLAN 与二层交换60 条路由(静态 / OSPF)62 条ACL 与安全65 条NAT 与出口31 条DHCP 与地址服务32 条堆叠、高可用与备份升级52 条设备排障72 条

单接口详细信息查看

定位单口问题时看详细输出:物理/协议状态、双工速率、最后 up 时间、收发包与错包计数、光功率;这是接口排障的核心查询命令。

网络设备配置速查网络更新于 2026-10-12
场景单口故障定位、链路质量评估
适用全部设备
命令族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 errors

H3C 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 与带宽。

易错点

  • 只 up/down 不看错包计数会漏掉“链路 up 但 CRC 狂涨”的隐性故障
  • 思科 show interfaces 默认大量分页输出,急查时用 show interfaces Gi1/0/1 | include rate|errors 过滤

数据来源与参考

  • 华为产品文档:display interface
  • Cisco show interfaces 命令参考
  • H3C Comware 7 display interface

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌