clear esrp counters

clear esrp counters

Description

Clears the statistics gathered by ESRP for all ESRP domains on the switch.

Syntax Description

This command has no arguments or variables.

Default

None.

Usage Guidelines

Use this command to clear the state transition and the protocol packet counters gathered by ESRP.

The state transition count displays the number of times the ESRP domain entered the following states:

  • Aware—An Extreme switch that does not participate in ESRP elections but is capable of listening to ESRP Bridge Protocol Data Units (BPDUs).
  • Master—The master switch is the device with the highest priority based on the election algorithm. The master is responsible for responding to clients for Layer 3 routing and Layer 2 switching for the ESRP domain.
  • Neutral—The neutral state is the initial state entered by the switch. In a neutral state, the switch waits for ESRP to initialize and run. A neutral switch does not participate in ESRP elections.
  • PreMaster—The pre-master state is an ESRP switch that is ready to be master but is going through possible loop detection prior to transitioning to master.
  • Slave—The slave switch participates in ESRP but is not elected or configured the master and does not respond to ARP requests but does exchange ESRP packets with other switches on the same VLAN. The slave switch is available to assume the responsibilities of the master switch if the master becomes unavailable or criteria for ESRP changes.

    If the slave is in extended mode, it does not send ESRP hello messages; however, it sends PDUs that can trigger a change in the master switch.

    For more information about configuring the ESRP mode of operation on the switch, see the configure esrp mode [extended | standard] command. By default, ESRP operates in extended mode.

To display information about the ESRP domain, including the previously described states, use the show esrp { {name} | {type [vpls-redundancy | standard]} } command.

The protocol packet count displays the number of times ESRP, ESRP-aware, and ESRP error packets were transmitted and received.

To display information about the ESRP counters, use the show esrp {name} counters command.

Example

The following command clears the statistics gathered by ESRP:

clear esrp counters

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on all platforms.