The snmp-agent trap enable feature-name mid_eapol command enables the trap function for the DOT1X module.
The undo snmp-agent trap enable feature-name mid_eapol command disables the trap function for the DOT1X module.
By default, the trap function is enabled for the DOT1X module.
snmp-agent trap enable feature-name mid_eapol [ trap-name { hwmacauthenmaxuseralarm | hwsrvcfgeapmaxuseralarm } ]
undo snmp-agent trap enable feature-name mid_eapol [ trap-name { hwmacauthenmaxuseralarm | hwsrvcfgeapmaxuseralarm } ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for a specified event of the DOT1X module. |
- |
hwmacauthenmaxuseralarm |
Enables the device to send a Huawei proprietary trap when the number of MAC address authentication users reaches the maximum number allowed on an interface. |
- |
hwsrvcfgeapmaxuseralarm | Enables the device to send a Huawei proprietary trap when the number of 802.1X authentication users reaches the maximum number allowed on an interface. |
- |
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.