Configure Automatic Restart

You must explicitly configure automatic restart on each ELSM-enabled port; this is not a global configuration. 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. For information about the port states, see ELSM Port States.

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.

The following user events clear or re-set the sticky threshold:
  • Enabling automatic restart on the port using the following command:

    enable elsm ports port_list auto-restart
  • Clearing the port that is in the Down-Stuck state using the following command:

    clear elsm ports port_list auto-restart
  • Disabling and re-enabling the port using the following commands:
    • disable ports [port_list|all]
    • enable ports [port_list|all]
  • Disabling ELSM on the port using the following command:

    disable elsm ports port_list

We recommend that you use the same automatic restart configuration on each peer port.