< Home

snmp-agent trap enable feature-name radius

Function

The snmp-agent trap enable feature-name radius command enables the trap function for the RDS module.

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

By default, the trap function is disabled for the RDS module.

Format

snmp-agent trap enable feature-name radius [ trap-name { hwradiusacctserverdown | hwradiusacctserverup | hwradiusauthserverdown | hwradiusauthserverup } ]

undo snmp-agent trap enable feature-name radius [ trap-name { hwradiusacctserverdown | hwradiusacctserverup | hwradiusauthserverdown | hwradiusauthserverup } ]

Parameters

Parameter

Description

Value

trap-name

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

-

hwradiusacctserverdown

Enables the device to send a Huawei proprietary trap when it detects that communication with the RADIUS accounting server is interrupted.

-

hwradiusacctserverup

Enables the device to send a Huawei proprietary trap when it detects that communication with the RADIUS accounting server is restored.

-

hwradiusauthserverdown

Enables the device to send a Huawei proprietary trap when it detects that communication with the RADIUS authentication server is interrupted.

-

hwradiusauthserverup

Enables the device to send a Huawei proprietary trap when it detects that communication with the RADIUS authentication server is restored.

-

Views

System view

Default Level

3: Management 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 hwradiusacctserverdown of the RDS module.

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