clear counters mpls ldp

clear counters mpls ldp {{{vlan} vlan_name} | lsp all}

Description

Clears LDP control protocol counters and packet and byte counters associated with LDP LSPs.

Syntax Description

vlan_name Clears LDP control protocol counters on the specified VLAN (Virtual LAN).
vlan all Clears LDP control protocol counters on all MPLS (Multiprotocol Label Switching) interfaces.
lsp all Clears all LDP LSP packet and byte counters.

Default

N/A.

Usage Guidelines

By default, all LDP control protocol counters are cleared for all LDP interfaces and all byte counters. Specifying the vlan keyword clears only the protocol counters associated with a specified LDP interface. Specifying the lsp keyword clears only the packet and byte counters associated with LDP LSPs.

Example

This example clears all LDP control protocol counters and all packet and byte counters for all LDP LSPs:

clear counters mpls ldp

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available only on the platforms that support this feature as described in the ExtremeXOS 22.4 Feature License Requirements document.