< Home

display snmp-agent trap feature-name mid_eapol all

Function

The display snmp-agent trap feature-name mid_eapol all command displays the status of all traps on the DOT1X module.

Format

display snmp-agent trap feature-name mid_eapol all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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 
Table 1 Description of the display snmp-agent trap feature-name mid_eapol all command output

Item

Description

Feature name

Name of the module to which a trap belongs.

Trap number

Number of traps.

Trap name

Name of a trap. Traps on the DOT1X module include:

  • hwSrvcfgEapMaxUserAlarm: The device sends a Huawei proprietary trap when the number of 802.1X authentication users reaches the maximum number allowed on an interface.

  • hwMacAuthenMaxUserAlarm: The device sends a Huawei proprietary trap when the number of MAC address authentication users reaches the maximum number allowed on an interface.

Default switch status

Default status of the trap function:
  • on: The trap function is enabled by default.

  • off: The trap function is disabled by default.

Current switch status

Trap status:

  • on: The trap is enabled.

  • off: The trap is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >