Related commands
display mpls ldp peer
snmp-agent trap enable ldp
Use snmp-agent trap enable ldp to enable SNMP notifications for LDP.
Use undo snmp-agent trap enable ldp to disable SNMP notifications for LDP.
Syntax
snmp-agent trap enable ldp
undo snmp-agent trap enable ldp
Default
SNMP notifications for LDP are enabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables generating SNMP notifications for LDP upon LDP session changes, as defined in
RFC 3815. The generated SNMP notifications are sent to the SNMP module.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
Examples
# Enable SNMP notifications for LDP.
<Sysname> system-view
[Sysname] snmp-agent trap enable ldp
targeted-peer
Use targeted-peer to allow sending Targeted Hellos to and receiving Targeted Hellos from the specified
peer, and to enter LDP peer view.
Use undo targeted-peer to cancel the configuration.
Syntax
targeted-peer peer-lsr-id
undo targeted-peer peer-lsr-id
Default
The device does not send Targeted Hellos to or receive Targeted Hellos from any peer.
Views
LDP view
56