enable elsm ports auto-restart

enable elsm ports port_list auto-restart

Description

Enables ELSM automatic restart for the specified ports.

Syntax Description

port_list Specifies the port or ports for which ELSM auto-restart is being enabled.

Default

The default is enabled.

Usage Guidelines

You must explicitly configure this behavior on each ELSM-enabled port; this is not a global command.

By default, ELSM automatic restart is enabled. If an ELSM-enabled port goes down, ELSM bypasses the Down-Stuck state and automatically transitions the down port to the Down state, regardless of the number of times the port goes up and down.

If you disable ELSM automatic restart, the ELSM-enabled port can transition between the following states multiple times: Up, Down, and Down-Wait. When the number of state transitions is greater than or equal to the sticky threshold, the port enters the Down-Stuck state.

The ELSM sticky threshold specifies the number of times a port can transition between the Up and Down states. The sticky threshold is not user-configurable and has a default value of 1. That means a port can transition only one time from the Up state to the Down state. If the port attempts a subsequent transition from the Up state to the Down state, the port enters the Down-Stuck state.

If the port enters the Down-Stuck state, you can clear the stuck state and enter the Down state by using one of the following commands:

clear elsm ports port_list auto-restart

OR

enable elsm ports port_list auto-restart

If you use the enable elsm ports port_list auto-restart command, automatic restart is always enabled; you do not have to use the clear elsm ports port_list auto-restart command to clear the stuck state.

To disable automatic restart, use the following command:

disable elsm ports port_list auto-restart

If you configure automatic restart on one port, Extreme Networks recommends that you use the same configuration on its peer port.

Example

The following command enables ELSM automatic restart for slot 2, ports 1-2 on the switch:

enable elsm ports 2:1-2:2 auto-restart

History

This command was first available in ExtremeXOS 11.4.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.