The snmp-agent trap enable feature-name tcp command enables the trap function for the TCP module.
The undo snmp-agent trap enable feature-name tcp command disables the trap function for the TCP module.
By default, the trap function is disabled for the TCP module.
snmp-agent trap enable feature-name tcp [ trap-name hwtcpmd5authenfail ]
undo snmp-agent trap enable feature-name tcp [ trap-name hwtcpmd5authenfail ]
Parameter | Description | Value |
---|---|---|
trap-name |
Enables the traps of TCP events of specified types. |
- |
hwtcpmd5authenfail |
Indicates that the TCP MD5 authentication fails. It is an excessive trap. |
- |
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. If you do not specify trap-name, all traps of the TCP module will be enabled.