Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-73
Description
Use the
reset mpls statistics lsp
command to clear MPLS statistics for a specified or
all LSPs.
Related commands:
display mpls statistics lsp
.
Examples
# Clear MPLS statistics for LSP lsp1.
<Sysname> reset mpls statistics lsp lsp1
1.1.49 snmp-agent trap enable mpls
Syntax
snmp-agent trap enable mpls
undo snmp-agent trap enable mpls
View
System view
Default Level
3: Manage level
Parameters
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.
Examples
# Enable the MPLS trap function.
<Sysname> system-view
[Sysname] snmp-agent trap enable mpls
1.1.50 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