How to recover errored ports manually on MAS
A port is automatically placed in a any of the following error state by the switch because of an error condition that is encountered on the port.
Based on the configuration the traffic can be either Dropped , Logged or the port can be Shutdown and When a port is in error state Shutdown, it is effectively shut down and no traffic is sent or received on that port. You can apply auto-recovery-time option only if the action is shutdown
The port can be reactivated after the configured time by configuring the auto-recovery option or can be recovered manually.
Environment: This articles applies to Aruba Mobility Access Switches running AOS version 22.214.171.124 and above.
Viewing Port Errors
Use the following command to view the list of ports that are detected with port errors and the time at which they will
be recovered automatically, if auto-recovery is enabled:
(host) #show port-error-recovery
Layer-2 Interface Error Information
Interface Error Recovery Time
--------- ----- -------------
Pc5 Shutdown (Loop Detected) 2012-02-08 16:42:45 (PST)
GE0/0/42 Shutdown (Loop Detected) No Auto recovery
Pc1 Shutdown (Loop Detected) 2012-02-07 16:45:40 (PST)
Pc2 Shutdown (RA Guard) 2012-02-08 16:42:45 (PST)
GE0/0/14 Log (Mac Limit Exceeded) No Auto recovery
GE0/0/2 Drop (DHCP Trust Error) 2012-02-07 16:45:40 (PST)
GE0/0/5 Log (MAC Limit exceed) No Auto recovery
GE1/0/24 Shutdown (BPDU received) 2012-10-18 11:25:17 (PST)
Recovering Ports Manually
Use the CLI to manually recover the port errors. To recover the ports on a specific interface execute the following command:
host) #clear port-error-recovery interface <interface-name>
The following command clears the errors on gigabitethernet 0/0/42:
(host) #clear port-error-recovery interface gigabitethernet 0/0/42
To clear the port errors on all interfaces execute the following command:
(host) #clear port-error-recovery
Note :- The maximum value for auto-recovery-time for all the port security functionalities is 65535 seconds.