R3303-HP HSR6800 Routers MPLS Command Reference
68
Examples
# Clear MPLS statistics for interface GigabitEthernet 2/1/1.
<Sysname> reset mpls statistics interface gigabitethernet 2/1/1
Related commands
display mpls statistics interface
reset mpls statistics lsp
Use reset mpls statistics lsp to clear MPLS statistics for the specified LSPs.
Syntax
reset mpls statistics lsp { index | all | name lsp-name }
Views
User view
Default command level
1: Monitor level
Parameters
index: Clears statistics for the LSP with the specified index number. The value range for the LSP index is
0 to 4294967295.
all: Clears statistics for all LSPs.
name lsp-name: Clears statistics for the LSP with the specified name. The LSP name is a string of 1 to 15
characters.
Examples
# Clear MPLS statistics for LSP lsp1.
<Sysname> reset mpls statistics lsp name lsp1
Related commands
display mpls statistics lsp
reset mpls statistics lsp in-label
Use reset mpls statistics lsp in-label to clear LSP statistics according to the LSP incoming label.
Syntax
reset mpls statistics lsp [ in-label in-label ]
Views
User view
Default command level
1: Monitor level
Parameters
in-label in-label: Specifies an LSP by its incoming label.
The following matrix shows the value ranges for the in-label argument:










