snmp-agent trap enable te

Use snmp-agent trap enable te to enable SNMP notifications for MPLS TE.

Use undo snmp-agent trap enable te to disable SNMP notifications for MPLS TE.

Syntax

snmp-agent trap enable te

undo snmp-agent trap enable te

Default

SNMP notifications for MPLS TE are enabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command enables generating SNMP notifications for MPLS TE upon MPLS TE tunnel status changes, as defined in RFC 3812. For MPLS TE 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.

Examples

# Enable SNMP notifications for MPLS TE.

<Sysname> system-view
[Sysname] snmp-agent trap enable te