The snmp-agent trap enable feature-name snmp command enables an SNMP trap.
The undo snmp-agent trap enable feature-name snmp command disables an SNMP trap.
By default, the coldStart and warmStart traps are enabled and the authenticationFailure trap is disabled.
snmp-agent trap enable feature-name snmp [ trap-name trap-name ]
undo snmp-agent trap enable feature-name snmp [ trap-name trap-name ]
Parameter | Description | Value |
---|---|---|
trap-name trap-name | Specifies the name of a trap. | The traps are as follows:
|
You can run the display snmp-agent trap feature-name snmp all command to check the configuration result.