disable elsm ports auto-restart

disable elsm ports port_list auto-restart

Description

Disable ELSM automatic restart for the specified ports.

Syntax Description

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

Default

The default is enabled.

Usage Guidelines

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 and remains in 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 have the port enter the Down state by using one of the following commands:

clear elsm ports port_list auto-restart

enable elsm ports port_list auto-restart

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

Enabling Automatic Restart

To enable ELSM automatic restart, you must explicitly configure this behavior on each ELSM-enabled port. If you enable ELSM automatic restart and 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.

To enable automatic restart, use the following command:

enable elsm ports port_list auto-restart

If you configure automatic restart on one port, we recommend that you use the same configuration on its peer port.

Example

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

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

History

This command was first available in ExtremeXOS 11.4.

Platform Availability