clear mpls statistics

Clears the MPLS statistics.

Syntax

clear mpls statistics oam
clear mpls statistics { transit [ label label | ldp [ ip_addr | submask | label ] | rsvp label ] }
clear mpls statistics { tunnel [ destination ip_addr | index vif_index | ldp [ destination ip_addr | index vif_index ] | rsvp [ destination ip_addr | index vif_index | name name ] ] }

Parameters

oam
Clears the MPLS OAM statistics.
transit
Clears the MPLS transit statistics.
label label
Clears the MPLS transit statistics for the selected label.
ldp ip_addr
Clears the MPLS transit LDP statisticsfor the selected IP address.
rsvp
Clears the MPLS transit RSVP statistics .
tunnel
Clears the MPLS tunnel statistics.
destination destination
Clears the MPLS tunnel statistics for the selected tunnel destination.
index vif_index
Clears the MPLS tunnel statistics for the selected tunnel index.
ldp
Clears the MPLS tunnel LDP statistics.
destination destination
Clears the MPLS tunnel statistics for the selected tunnel destination.
index vif_index
Clears the MPLS tunnel statistics for the selected tunnel index.
rsvp
Clears the MPLS tunnel RSVP statistics.
destination destination
Clears the MPLS tunnel statistics for the selected tunnel destination.
index vif_index
Clears the MPLS tunnel statistics for the selected tunnel index.
name name
Clears the MPLS tunnel statistics for the selected named tunnel.

Modes

MPLS policy mode

Usage Guidelines

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example clears the MPLS statistics.

device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-mpls-policy)# clear mpls statistics