交换机 网络环路

问题描述

同一个Cisco交换机交换机连接5台服务器,突然两台服务器网络断掉其余3台服务器正常,从另外一台服务器从另一网段ssh进去:

排查问题,发现服务器配置正常,但是无法ping通网关


解决方法

这种情况很有可能是这两台服务器形成环路,有广播风暴,服务器把这两个端口给禁掉了:

解决方法:

将交换机的控制口插到一台正常的服务器上

minicom

进入switch控制台

enable

show logging

Mar 30 01:43:39.827: %ETHCNTR−3−LOOP_BACK_DETECTED: Loop−back detected on GigabitEthernet0/19.
Mar 30 01:43:39.827: %PM−4−ERR_DISABLE: loopback error detected on Gi0/19, putting Gi0/19 in err−disable state
Mar 30 01:43:40.833: %LINEPROTO−5−UPDOWN: Line protocol on Interface GigabitEthernet0/19, changed state to down
Mar 30 01:43:41.840: %LINK−3−UPDOWN: Interface GigabitEthernet0/19, changed state to do


发现有loopback,即环路错误


恢复


config


Switch(config)#errdisable recovery cause loopback 
Switch(config)#exit
Switch#show errdisable recovery
...
Interfaces that will be enabled at the next timeout:  
Interface       Errdisable reason       Time left(sec)
−−−−−−−−−       −−−−−−−−−−−−−−−−−       −−−−−−−−−−−−−−
Gi0/9                   loopback          205
Gi0/10                  loopback          205
Gi0/19                  loopback          205


详细可参考:点击打开链接





你可能感兴趣的:(交换机,网络)