< Home

snmp-agent trap enable feature-name acle

Function

The snmp-agent trap enable feature-name acle command enables the trap function for the ACL module.

The undo snmp-agent trap enable feature-name acle command disables the trap function for the ACL module.

By default, the trap function is enabled for the ACL module.

Format

snmp-agent trap enable feature-name acle [ trap-name { hwaclresthresholdexceedcleartrap | hwaclresthresholdexceedtrap | hwaclrestotalcountexceedcleartrap | hwaclrestotalcountexceedtrap } ]

undo snmp-agent trap enable feature-name acle [ trap-name { hwaclresthresholdexceedcleartrap | hwaclresthresholdexceedtrap | hwaclrestotalcountexceedcleartrap | hwaclrestotalcountexceedtrap } ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for the specified event.

-

hwaclresthresholdexceedcleartrap

Enables the device to send a Huawei proprietary trap sent when the ACL resource usage on the device falls below the lower alarm threshold (percentage).

-

hwaclresthresholdexceedtrap

Enables the device to send a Huawei proprietary trap sent when the ACL resource usage on the device exceeds the upper alarm threshold (percentage).

-

hwaclrestotalcountexceedcleartrap

Enables the device to send a Huawei proprietary trap sent when the ACL resource usage on the device reaches 100%, and then falls below 100% and stays below 100% for a period of time.

-

hwaclrestotalcountexceedtrap

Enables the device to send a Huawei proprietary trap sent when the ACL resource usage on the device reaches 100%.

-

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.

Example

# Enable the hwaclresthresholdexceedtrap for ACL.

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