Enabling SNMP notifications for L2VPN PW
This feature enables L2VPN to generate SNMP notifications when PW deletions, PW switchovers, or PW status changes occur. For L2VPN event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.
To enable SNMP notifications for L2VPN PW:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable SNMP notifications for L2VPN PW. | snmp-agent trap enable l2vpn [ pw-delete | pw-switch | pw-up-down ] * | By default, SNMP notifications for L2VPN PW are disabled. |