1559
Parameter index: Index number of the LSP, in the range 0 to 4,294,967,295.
all: Specifies all LSPs.
lsp-name: Name of the LSP, a string of 1 to 15 characters.
Description Use the
reset mpls statistics lsp command to clear MPLS statistics for a
specified or all LSPs.
Related command: display mpls statistics lsp.
Example # Clear MPLS statistics for LSP lsp1.
<Sysname> reset mpls statistics lsp lsp1
snmp-agent trap enable mpls
Syntax snmp-agent trap enable mpls
undo snmp-agent trap enable mpls
View System view
Parameter None
Description Use the
snmp-agent trap enable mpls command to enable the MPLS trap
function.
Use the
undo snmp-agent trap enable command to disable the function.
By default, the function is disabled.
Example # Enable the MPLS trap function.
<Sysname> system-view
[Sysname] snmp-agent trap enable mpls
static-lsp egress
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
Parameter lsp-name: Name for the LSP, a string of 1 to 15 characters.
interface-type interface-number: Specifies an interface by its type and number.