< Home

snmp-agent trap enable feature-name tcp

Function

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.

Format

snmp-agent trap enable feature-name tcp [ trap-name hwtcpmd5authenfail ]

undo snmp-agent trap enable feature-name tcp [ trap-name hwtcpmd5authenfail ]

Parameters

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.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Enables the TCP MD5 authentication fails trap of TCP module.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name tcp trap-name hwtcpmd5authenfail
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >