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.

VLAN

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.

Example

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

show elrp

The following sample output is displayed:

ELRP Standalone Client:       Enabled
Number of ELRP sessions:          1
Number of ELRP pkts transmitted:  14
Number of ELRP pkts received:     0
                                                Pkt       Pkts             Disable
Client  Vlan        Ports  Int.    Count Cyclic Xmit      Rcvd      Action Port
----------------------------------------------------------------------------------
CLI     vlanp1       All   1        0     Yes    14        0         L      -
CLI     vlanp2       All   1        0     Yes    14        0         TE      Perm
CLI     vlanp3       All   1        0     Yes    14        0         LTI     15
----------------------------------------------------------------------------------
Action : (P) Print , (L) Log , (T) Trap , (C) Callback, (E) Egress, (I) Ingress
# show elrp disabled-ports 
Disabled Detected             Duration Time                       Disable 
Port     Vlan                 (sec)    Disabled                   Direction 
        --------------------------------------------------------------------------- 
2:46     v1                   40       Wed Dec 3 11:25:22 2014    Egress 
2:47     v2                   Perm     Wed Dec 3 11:25:21 2014    Ingress    
---------------------------------------------------------------------------

History

This command was first available in ExtremeXOS 11.1.

The disable port feature was added in ExtremeXOS 12.4.

Platform Availability

This command is available on all platforms.