snmp-agent trap enable feature-name entitymib command enables the trap function for the ENTITYMIB module.
undo snmp-agent trap enable feature-name entitymib command disables the trap function for the ENTITYMIB module.
By default, the trap function is enabled for the ENTITYMIB module.
snmp-agent trap enable feature-name entitymib [ trap-name entconfigchange ]
undo snmp-agent trap enable feature-name entitymib [ trap-name entconfigchange ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for the specified event. |
- |
entconfigchange |
Enables the trap function when the entity MIB changes. |
- |
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.