clear counters mpls

clear counters mpls {[lsp all | [{vlan} vlan_name | vlan all]]}

Description

Clears all packet and byte counters for all MPLS LSPs and all MPLS protocol counters for all MPLS interfaces.

Syntax Description

lsp all Clears all MPLS protocol counters for all MPLS LSPs.
vlan_name Clears all MPLS protocol counters for the MPLS interface on the specified VLAN.
vlan all Clears all MPLS protocol counters for all MPLS interfaces.

Default

N/A.

Usage Guidelines

This command clears all packet and byte counters for all MPLS LSPs and all MPLS protocol counters for all MPLS interfaces. If the lsp all keywords are specified, all packet and byte counters for all MPLS LSPs are cleared. If the vlan all keywords are specified, all MPLS protocol counters for all MPLS interfaces are cleared. If a VLAN name is specified, all MPLS protocol counters for the MPLS interface on that VLAN are cleared.

Example

This example clears all MPLS counters associated with VLAN 1:

clear counters mpls vlan vlan_1

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 Feature License Requirements document.