snmp-agent trap enable feature-name mpls command enables the trap function for the MPLS module.
undo snmp-agent trap enable feature-name mpls command disables the trap function for the MPLS module.
By default, the trap function is enabled for the MPLS module.
snmp-agent trap enable feature-name mpls [ trap-name trapname ]
undo snmp-agent trap enable feature-name mpls [ trap-name trapname ]
Parameter |
Description |
Value |
---|---|---|
trap-name trapname |
Enables or disables the trap function for the specified event. |
|
When the trap function is enabled, the device generates traps during running and sends traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps and the SNMP module does not send traps to the NMS.
You can specify trap-name to enable the trap function for one or more events.