Configuring Autorecovery for Port Security Events
You can have the device automatically restore interfaces that have been disabled due
to MAC limiting, MAC move limiting, or storm control conditions by configuring the recovery-timeout statement.
EX and QFX Series:
[edit interfaces interface-name unit 0 family ethernet-switching]user@switch# set recovery-timeout 60
MX Series:
[edit interfaces interface-name unit 0 family bridge]user@switch# set recovery-timeout 60
An interface may shut down or be disabled as a result of one of the following port-security or storm-control configurations:
Storm control—The
storm-controlstatement is configured with theaction-shutdownstatement, or the actionshutdown, depending on the platform you are using.MAC limiting—(Not supported on MX Series routers) The
mac-limitstatement is configured with theaction-shutdownstatement, or the actionshutdown, depending on the platform you are using.MAC move limiting—(Not supported on MX Series routers) The
mac-move-limitstatement is configured with theaction-shutdownstatement, or the actionshutdown, depending on the platform you are using.
There is no default, so unless the statement is explicitly configured, you will need to manually restore the interfaces by running a clear command.
For EX Series switches, run:
clear ethernet-switching recovery-timeoutFor MX Series routers, run:
clear bridge recovery-timeout