Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

recovery-timeout

 

Syntax

Hierarchy Level (EX Series and QFX Series)

Hierarchy Level (MX Series)

Release Information

Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

Statement introduced in Junos OS Release 13.2 for the QFX Series.

Statement introduced in Junos OS Release 14.1 for the MX Series routers.

Description

Configure an interface to be temporarily disabled when MAC limiting, MAC move limiting, or rate-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.

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

  • If you enable MAC move limiting with the vlan-member-shutdown option and you enable recovery-timeout, the interface is temporarily disabled when the maximum number of MAC address moves is reached. The interface will recover automatically after the number of seconds specified. If the recovery timeout is not configured, the interface will recover automatically after 180 seconds.

  • If you enable storm control with the action-shutdown option and you enable recovery-timeout, the interface is temporarily disabled when applicable traffic exceeds the specified levels. Depending upon the configuration, applicable traffic can include broadcast, unknown unicast, and multicast traffic.

Note

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 for EX Series and QFX Series and clear bridge recovery-timeout for MX Series routers.

Default

The interface does not automatically recover from an error condition.

Note

On EX9200 switches, if a MAC move limit is configured with the action vlan-member-shutdown, the interface automatically recovers from the disabled condition after 180 seconds by default.

Options

seconds 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.