show elrp

show elrp

Description

Displays ELRP information.

Syntax Description

This command has no arguments or variables.

Default

N/A.

Usage Guidelines

This command displays the following:
  • State of ELRP (enabled/disabled).
  • Total number of ELRP sessions.
  • ELRP packets transmitted.
  • ELRP packets received.
In addition to the summary information at the top of the display, the show elrp command also displays the following information:
Client

Displays the name of the ELRP client.

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

Displays the name of the VLAN with ELRP enabled.

Ports

Displays the set of VLAN ports used for packet transmission.

Interval

Displays the configured interval. An interval of 3 indicates that ELRP PDUs are transmitted every 3 seconds.

Count

Lists the configured number of ELRP PDUs that are transmitted. The PDUs are transmitted at the configured interval. This method of ELRP PDU transmission is used by ESRP in the pre-master state. A count of 0 indicates continuous PDU transmission. If the Cyclic value is Yes, the count is always 0.

Cyclic

Indicates whether ELRP PDUs are being continuously sent. The column shows Yes for the master VLAN because that VLAN is continuously sending ELRP PDUs for loop detection. When a VLAN is in the pre-master state, it only sends three ELRP PDUs before changing to master or slave. During this time the column shows No for that VLAN.

Pkts-Xmit

Displays the number of ELRP PDUs transmitted.

Pkts-Rcvd

Displays the number of ELRP PDUs received.

Action

Displays the configured action the switch takes when ELRP messages are received back indicating a detection of a network loop or no packets are received within the specified duration.

The following list describes the actions:

Print (P)—Specifies that the switch prints a message to the console.Log (L)—Specifies that the switch sends a message to the system log file.Trap (T)—Specifies that the switch sends a message to the SNMP manager.Callback (C)—Specifies a callback action. If you use ELRP with another protocol (for example ESRP), ELRP uses a callback action to notify the protocol of a loop detection.
Disable Port

Displays the configured hold time (number of seconds or permanent) for a port that was disabled with the configure elrp-client periodic command. When the time in seconds expires, the port is automatically enabled.

With hardware-assisted ELRP, one ACL egress counter is used to record ELRP PDUs transmitted per VLAN port, and the displayed Pkts-Xmit is calculated after all egress counters are queried from hardware. If show commands are executed very frequently, the statistics might not change every time.

Example

The following example displays summary ELRP status information on the switch:

# show elrp 

ELRP Standalone Client:       Enabled
ELRP Inter-VLAN loop detection:   On
ELRP client hardware assist:      Enabled
Loopback port:                    1

Number of ELRP sessions:          1
Number of ELRP pkts transmitted:  0
Number of ELRP pkts received:     0

                                     Interval                   Pkts    Pkts        Disable
Client VLAN          Ports              (sec) Count Cyclic      Xmit    Rcvd Action Port (sec)
----------------------------------------------------------------------------------------------
CLI    Default       All,                 1.0     0 Yes            0       0 LT     -       
                     All VXLAN RTEPs
----------------------------------------------------------------------------------------------

History

This command was first available in ExtremeXOS 11.1.

VXLAN remote endpoint information was added in ExtremeXOS 22.4.

Hardware-assisted ELRP information was added in ExtremeXOS 30.3.

Platform Availability

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