Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 1 MPLS Basic Configuration Commands
Huawei Technologies Proprietary
1-8
Description
Use the
snmp-agent trap enable ldp
command to enable Trap function in MPLS LDP
creation.
Use the
undo
snmp-agent trap enable ldp
command to disable Trap function in
MPLS LDP creation.
By default, Trap function is not enabled during MPLS LDP creation.
Example
# Enable the Trap function during MPLS LDP creation.
<Quidway>system-view
[Quidway] snmp-agent trap enable ldp
1.1.10 snmp-agent trap enable lsp
Syntax
snmp-agent trap enable lsp
undo snmp-agent trap enable lsp
View
System view
Parameter
None
Description
Use the
snmp-agent trap enable lsp
command to enable Trap function in MPLS LSP
creation.
Use the
undo
snmp-agent trap enable lsp
command to disable Trap function in
MPLS LSP creation.
By default, Trap function is disabled during MPLS LSP creation.
Example
# Enable the Trap function during MPLS LSP creation.
[Quidway] snmp-agent trap enable lsp
1.1.11 static-lsp egress
Syntax
static-lsp
egress
lsp-name
[
l2vpn
]
incoming-interface
interface-type
interface-number
in-label
in-label-value