The display snmp-agent trap feature-name mid_eapol all command displays the status of all traps on the DOT1X module.
Usage Scenario
After enabling the trap function for the DOT1X module, you can run this command to check the status of all traps on the DOT1X module. To enable the trap function for the DOT1X module, run the snmp-agent trap enable feature-name mid_eapol command.
Prerequisites
The SNMP function has been enabled on the device. For details, see snmp-agent.
# Display the status of all traps on the DOT1X module.
<HUAWEI> display snmp-agent trap feature-name mid_eapol all
------------------------------------------------------------------------------
Feature name: MID_EAPOL
Trap number : 2
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwSrvcfgEapMaxUserAlarm on on
hwMacAuthenMaxUserAlarm on on