just do it
分类: 网络与安全
2014-05-14 10:19:10
cisco3750 端口假死
cisco-3750-1#show log
May 14 00:44:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/8, changed
state to down
May 14 00:44:00: %PM-4-ERR_DISABLE: link-flap error detected on Gi1/0/8, putting Gi1/0/8 in
err-disable state
May 14 00:44:01: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/8, changed state to down
cisco-3750-1#show int Gi1/0/8
GigabitEthernet1/0/8 is down, line protocol is down (err-disabled)
查看触发err-disable的原因:
cisco-3750-1>show interfaces status err-disabled
Port Name Status Reason
Gi1/0/8 TO_IPTV_M6000 err-disabled link-flap
cisco-3750-1#sh int Gi1/0/8 status
Port Name Status Vlan Duplex Speed Type
Gi1/0/8 TO_IPTV_M6000 err-disabled routed auto auto 1000BaseLX SFP
cisco-3750-1#sh errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Disabled
l2ptguard Disabled
psecure-violation Disabled
sfp-config-mismat Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
inline-power Disabled
arp-inspection Disabled
loopback Disabled
Timer interval: 300 seconds
Interfaces that will be enabled at the next timeout:
恢复命令:
cisco-3750-1(config)#errdisable recovery cause Link-flap
cisco-3750-1#sh errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Enabled
l2ptguard Disabled
psecure-violation Disabled
sfp-config-mismat Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
inline-power Disabled
arp-inspection Disabled
loopback Disabled
Timer interval: 300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Gi1/0/8 link-flap 258
300秒后恢复:
cisco-3750-1#sh int Gi1/0/8 status
Port Name Status Vlan Duplex Speed Type
Gi1/0/8 TO_IPTV_M6000 connected routed full 1000 1000BaseLX SFP
cisco-3750-1#sh int Gi1/0/8
GigabitEthernet1/0/8 is up, line protocol is up (connected)
cisco-3750-1(config)#no errdisable recovery cause Link-flap