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 This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches..
vlan all Clears LDP control protocol counters on all MPLS 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 and Switch Engine 31.7 Feature License Requirements document.