< Home

snmp-agent trap enable feature-name mid_aaa

Function

The snmp-agent trap enable feature-name mid_aaa command enables the trap function for the AAA module.

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

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

Format

snmp-agent trap enable feature-name mid_aaa [ trap-name { hwmacmovedquietmaxuseralarm | hwmacmovedquietuserclearalarm } ]

undo snmp-agent trap enable feature-name mid_aaa [ trap-name { hwmacmovedquietmaxuseralarm | hwmacmovedquietuserclearalarm } ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for a specified event of the AAAmodule.

-

hwmacmovedquietmaxuseralarm

Sends a Huawei proprietary trap message when the percentage of current MAC address migration users in quiet state against the maximum number of users exceeds the upper alarm threshold.

-

hwmacmovedquietuserclearalarm

Sends a Huawei proprietary trap message when the percentage of current MAC address migration users in quiet state against the maximum number of users decreases to be equal to or smaller than the lower alarm threshold.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the trap function is enabled, the device generates traps during operation and sends the traps to the NMS through the SNMP module. If the trap function is disabled, 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 trap function for hwmacmovedquietmaxuseralarm of the AAA module.

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