Enabling SNMP notifications for LDP

This feature 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.

To enable SNMP notifications for LDP:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable SNMP notifications for LDP.

snmp-agent trap enable ldp

By default, SNMP notifications for LDP are enabled.

For more information about SNMP notifications, see Network Management and Monitoring Configuration Guide.