snmp-agent trap enable feature-name mid_web
Function
The snmp-agent trap enable feature-name mid_web command enables the trap function for the web authentication module.
The undo snmp-agent trap enable feature-name mid_web command disables the trap function for the web authentication module.
By default, the trap function is enabled for the web authentication module.
Format
snmp-agent trap enable feature-name mid_web [ trap-name { hwportalmaxuseralarm | hwportaluserclearalarm | hwportalserverdown | hwportalserverup } ]
undo snmp-agent trap enable feature-name mid_web [ trap-name { hwportalmaxuseralarm | hwportaluserclearalarm | hwportalserverdown | hwportalserverup } ]
Parameters
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for a specified event of the web authentication module. |
- |
hwportalmaxuseralarm |
Enables the device to send a Huawei proprietary trap when the number of online Portal authentication users exceeds the upper threshold. |
- |
hwportaluserclearalarm | Enables the device to send a Huawei proprietary trap when the number of online Portal authentication users falls below the lower threshold. |
- |
hwportalserverdown | Enables the device to send a Huawei proprietary trap when it detects that the Portal server changes from Up to Down. |
- |
hwportalserverup | Enables the device to send a Huawei proprietary trap when it detects that the Portal server changes from Down to Up. |
- |
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.