Using the snmp-agent trap enable standard command, you can enable the trap function of standard SNMP.
Using the undo snmp-agent trap enable standard command, you can disable the trap function of standard SNMP.
By default, no trap messages are sent to a device.
snmp-agent trap enable standard [ authentication | coldstart | warmstart | linkup | linkdown ] *
undo snmp-agent trap enable standard [ authentication | coldstart | warmstart | linkup | linkdown ] *
Parameter | Description | Value |
---|---|---|
Authentication | Indicates that a trap message is sent when packets failed to be authenticated through SNMP. | - |
Coldstart | Indicates that a trap message is sent when the system is cold started. | - |
Warmstart | Indicates that a trap message is sent when the system is hot started. | - |
Linkup | Indicates that a trap message is sent when the interface goes Up. | - |
Linkdown | Indicates that a trap message is sent when the interface goes Down. | - |