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.
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 } ]
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. |
- |
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.