How to Recover Error-Disabled Ports Automatically



We can also configure a switch to auto recover error-disabled ports after a specified amount of time. By default, the auto recover feature is disabled.

Network Topology:



Configuring Recovery of error-disable Port:

Switch1(config)#errdisable recovery cause psecure-violation

Switch1(config)#errdisable recovery interval seconds


Verify Recovery of  Error-Disabled Ports:

Switch1#show errdisable recovery

Switch1#show interfaces status err-disabled

Switch1#clear errdisable interface interface-id vlan [vlan-list]


Static MAC Addresses Configuring :

Switch1(config)#mac address-table static aaaa.aaaa.aaaa vlan 1 interface fastethernet 0/2
Switch1(config)#no mac address-table static aaaa.aaaa.aaaa vlan 1 interface fastethernet 0/2

No comments