The snmp-agent trap enable feature-name entityexttrap command enables the trap function for the ENTITYEXTTRAP module.
The undo snmp-agent trap enable feature-name entityexttrap command disables the trap function for the ENTITYEXTTRAP module.
By default, the trap function is enabled for the ENTITYEXTTRAP module.
snmp-agent trap enable feature-name entityexttrap [ trap-name trap-name ]
undo snmp-agent trap enable feature-name entityexttrap [ trap-name trap-name ]
Parameter |
Description |
Value |
---|---|---|
trap-name trap-name |
Enables or disables the trap function of the specified event for the ENTITYEXTTRAP module. |
The value is a trap name. Traps of the ENTITYEXTTRAP
module include:
|
After the trap function is enabled on a switch, the switch will generate traps during operation and send the traps to the NMS through the SNMP module. If the trap function is disabled on the switch, the switch will not generate traps and not send traps to the NMS through the SNMP module.
You can specify the parameter trap-name to enable one or more event traps.