snmp-agent trap enable feature-name entitytrap command enables the trap function for the ENTITYTRAP module.
undo snmp-agent trap enable feature-name entitytrap command disables the trap function for the ENTITYTRAP module.
By default, the trap function is enabled for the ENTITYTRAP module.
snmp-agent trap enable feature-name entitytrap [ trap-name trap-name ]
undo snmp-agent trap enable feature-name entitytrap [ trap-name trap-name ]
Parameter |
Description |
Value |
---|---|---|
trap-name trap-name |
Specifies the trap for an event of the ENTITYTRAP module. |
The value is an enumerated value and must be set as prompted by the device. |
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.