Displaying ELSM Information
-
Display summary information for all of the ELSM-enabled
ports on the switch with the command:
show elsm
This command displays in a tabular format the operational state of ELSM on the configured ports.
If ports are configured for ELSM (ELSM is enabled), the switch displays the following information:
- Port—The port number of the ELSM-enabled port.
- ELSM State—The current state of ELSM on the port. For information about the port states, see ELSM Port States.
- Hello time—The current value of the hello timer, which by default is 1 second. For information about configuring the hello timer, see Configuring the ELSM Hello Timer.
If no ports are configured for ELSM (ELSM is disabled), the switch does not display any information.
-
Display detailed information for one or more ELSM-enabled
ports on the switch.
show elsm ports all | port_list
In addition to the port, ELSM state, and hello timer information, this command displays in a tabular format the following:
- Link State—The state of the link between ELSM-enabled ports. For information about the link states, see Link States.
- ELSM Link State—The current state of the ELSM logical link on the switch. For more information, see ELSM Link States.
- Hello Transmit State—The current state of ELSM hello messages being transmitted.
- Hold Threshold—The number of Hello+ messages required by the ELSM-enabled port to transition from the Down-Wait state to the Up state within the hold threshold.
- UpTimer Threshold—The number of hello times that span without receiving Hello+ packets before a port changes its ELSM state from Up to Down.
- Auto Restart—The current state of ELSM automatic restart on the port.
- Sticky Threshold—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.
- Sticky Threshold Counter—The number of times the port transitions from the Up state to the Down state.
- Down Timeout—The actual waiting time (msecs or secs) before a port changes its ELSM state from Down to Up after receiving the first Hello+ packet. It is equal to [Hello Time * (Hold Threshold+2)].
- Up Timeout—The actual waiting time (msecs or secs) before a port changes its ELSM state from Up to Down after receiving the last Hello+ packets. It is equal to [Hello Time * UpTimer Threshold].
The remaining output displays counter information.
-
Use the counter information to determine the health of
the ELSM peers and how often ELSM has gone up or down.
The counters are cumulative.
- Rx Hello+—The number of Hello+ messages received by the port.
- Rx Hello- —The number of Hello- messages received by the port.
- Tx Hello+—The number of Hello+ messages sent by the port.
- Tx Hello- —The number of Hello- messages sent by the port.
- ELSM Up/Down Count—The number of times ELSM has been up or down.
-
Display summary port information in a tabular format for
one or more ELSM-enabled ports with the command:
show ports {port_list} information {detail}
This command displays the following ELSM information:
- Flags
- L—ELSM is enabled on the switch
- - —ELSM is disabled on the switch
- ELSM (For more information, see ELSM Link States.)
- up—ELSM is enabled and the ELSM link state is up.
- dn—ELSM is enabled and the ELSM link state is down.
- - —ELSM is disabled on the switch.
- Flags
-
Display summary port information called out in written
explanations versus displayed in a tabular format, use the detail
parameter.
show ports {port_list} information {detail}
This command displays the following ELSM information:
- ELSM Link State (displayed only if ELSM is enabled on the
switch). For more information, see ELSM Link States.
- Up—ELSM is enabled and the ELSM link state is up.
- Down—ELSM is enabled and the ELSM link state is down.
- Link State—The state of the link between ELSM-enabled ports. For information about the link states, see Link States.
- ELSM
- Enabled—ELSM is enabled on the switch.
- Disabled—ELSM is disabled on the switch.
- ELSM Link State (displayed only if ELSM is enabled on the
switch). For more information, see ELSM Link States.