Cisco命令:
show interface
show interface GigabitEthernet 0/1
信息量庞大,可以检索关键字,如下检索“line protocol is up”
华为:
display interface
display interface brief
display interface GigabitEthernet 0/1
信息量庞大,可以检索关键字,如下索“line protocol current state : UP”
信息解读:
Full Duplex 双工
media type=SX 短距离光模块
吞吐量:
5 minute input rate 1000 bits/sec,1packet/sec
5 minute output rate 1000 bits/sec,1packet/sec
包量:
3174060 packets input,442959960 bytes
包量判断环路步骤:
- 清空接口包量:clear counter interface GigabitEthernet 0/1
- 隔一秒查看接口包量:show interface GigabitEthernet 0/1
- 如果隔一秒发现包量巨大与接口速率不匹则可能有环路
通信质量判断:(CRC为0质量为优)
0 input errors,0 CRC(若数值大考虑光衰,网线问题)
光衰:(功率过大会烧坏模块,过低影响传输效率)
display transceiver diagnosis interface Ten-Gi 1/0/1