Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure an interface to be temporarily disabled when MAC limiting is in effect with the action shutdown. This enables the affected interface to recover automatically from the error condition after the specified period of time:

  • If you configure MAC limiting with the shutdown option and you enable recovery-timeout, the interface is temporarily disabled when the MAC address limit is reached. The interface will recover automatically after the number of seconds specified.


The recovery-timeout configuration does not apply to preexisting error conditions. It impacts only error conditions that are detected after the recovery-timeout statement is configured and committed. To clear a preexisting error condition and restore the interface to service, use the operational mode commands clear ethernet-switching recovery-timeout .


The interface does not automatically recover from an error condition.



Number of seconds that the interface remains in a disabled state due to a port error prior to automatic recovery.

  • Range: 10 through 3600

Required Privilege Level

system—To view this statement in the configuration.system–control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 15.1X49-D70.