clear msdp counters

clear msdp counters {peer remoteaddr | peer all | system} {vr vrname}

Description

This command resets the MSDP (Multicast Source Discovery Protocol) counters to zero.

Syntax Description

peer all Specifies all MSDP peers.
remoteaddr Specifies the IP address of the MSDP peer.
system Clears the global MSDP counters.
vrname Specifies the name of the virtual router to which this command applies. If a name is not specified, it is extracted from the current CLI context.

Default

N/A.

Usage Guidelines

The clear msdp counters command clears the following MSDP counters:

  • Per peer counters:
    • Number of SA messages received.
    • Number of SA messages transmitted.
    • Number of SA request messages received.
    • Number of SA request messages transmitted.
    • Number of SA response messages received.
    • Number of SA response messages transmitted.
    • Number of SA messages received without encapsulated data.
    • Number of SA messages transmitted without encapsulated data.
    • Number of SA messages received with encapsulated data.
    • Number of SA messages transmitted with encapsulated data.
    • Number of times the MSDP peer attained an “ESTABLISHED” state.
    • Number of times the peer-RPF check failed.
    • Number of times the TCP connection attempt failed.
    • Total number of received messages.
    • Total number of transmitted messages.
  • Global counters:
    • None defined.

The clear counters command will also clear all MSDP counters, but it clears the counters for all other applications too.

Example

The following command clears the counters for an MSDP peer with the IP address 192.168.45.43:

clear msdp counters peer 192.168.45.43

The following command clears the all peer and global counters:

clear msdp counters

The following command clears all counters for a particular peer:

clear msdp counters peer 192.168.32.45

The following command clears the counters of all MSDP peers:

clear msdp counters peer all

The following command clears the global counters:

clear msdp counters system

History

This command was first available in ExtremeXOS 12.0.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the MSDP feature, see the ExtremeXOS 22.6 Feature License Requirements document.