We have below options to enable auto-recovery. We need to enable them as per requirements. By default, recovery for all ErrDisable causes are disabled. We can automatically enable this interface using Err-disabled Recovery feature. GigabitEthernet0/3 is down, line protocol is down ( err-disabled) Cisco-SW#show interfaces gigabitEthernet 0/3 Until, we do the shutdown and no shutdown manually, it will remain err-disable state and no traffic will pass through even for permitted host. *Jun 12 09:38:13.594: %LINK-3-UPDOWN: Interface GigabitEthernet0/3, changed state to down *Jun 12 09:38:12.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down *Jun 12 09:38:11.593: %PORT_SECURITY-2- PSECURE_VIOLATION: Security violation occurred, caused by MAC address 0050.7966.6802 on port GigabitEthernet0/3. *Jun 12 09:38:11.586: %PM-4-ERR_DISABLE: psecure-violation error detected on Gi0/3, putting Gi0/3 in err-disable state So, whenever more than 2 MAC address hits gig0/3 interface, it goes err-disabled mode.
Switchport port-security mac-address sticky Below are the current configuration of interface gig0/3.Ĭisco-SW#show running-config interface gigabitEthernet 0/3 In our LAB setup, we have configured port-security, so that when port-security violation occur, it can go Error-disabled state. So, what is the reason for an interface to go Errdisabled state? There is lots of reason to go Err-disabled like- UDLD failure, a broadcast storm or port-security violation, etc. When it happens, no traffic will be passed through that port unless you manually shutdown and then no shutdown. Errdisabled is a feature on Cisco switches, which automatically disable an interface on certain condition.
In this lesson we will learn, how to configure Err-disabled auto-recovery in Cisco catalyst switches.īefore going into details, first we should understand what is error-disabled state of an interface. Errdisable recovery is a feature that helps network administrators to recover the err-disabled state to enable state.