108
Examples
# Clear MPLS statistics for interface VLAN-interface 1.
<Sysname> reset mpls statistics interface vlan-interface 1
reset mpls statistics lsp
Description
Use the reset mpls statistics lsp command to clear MPLS statistics for the specified LSPs.
Related commands: display mpls statistics lsp.
Syntax
reset mpls statistics lsp { index | all | name lsp-name }
View
User view
Default level
1: Monitor level
Parameters
index: Specifies an LSP by its index number, which is ranging from 0 to 4,294,967,295.
all: Specifies all LSPs.
name lsp-name: Specifies an LSP by the LSP name, which is a string of 1 to 15 characters.
Examples
# Clear MPLS statistics for LSP lsp1.
<Sysname> reset mpls statistics lsp lsp1
static-lsp egress
Description
Use the static-lsp egress command to configure a static LSP taking the current LSR as the egress.
Use the undo static-lsp egress command to remove a static LSP taking the current LSR as the egress.
Related commands: display mpls static-lsp, static-lsp ingress, and static-lsp transit.
Syntax
static-lsp egress lsp-name incoming-interface interface-type interface-number in-label in-label
undo static-lsp egress lsp-name
View
System view
Default level
2: System level
Parameters
lsp-name: Specifies the name for the LSP, which is a string of 1 to 15 characters.