The display snmp-agent trap feature-name l2ifppi all command displays the status of all traps on the l2ifppi module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name l2ifppi all command to check the status of all traps of l2ifppi. You can use the snmp-agent trap enable feature-name l2ifppi command to enable the trap function of l2ifppi.
Prerequisites
SNMP has been enabled. See snmp-agent.
# Display all the traps of the l2ifppi module.
<HUAWEI>display snmp-agent trap feature-name l2ifppi all
------------------------------------------------------------------------------
Feature name: L2IFPPI
Trap number : 17
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwPortSecRcvInsecurePktAlarm on on
hwMflpVlanAlarm on on
hwMflpVsiAlarm on on
hwMflpBdAlarm on on
hwMacLimitOverThresholdAlarm on on
hwMacLimitOverThresholdAlarmResume
on on
hwRecIllegalMacPktAlarm on on
hwPortStickyReachMaxAlarm on on
hwMflpQuitVlanAlarm on on
hwMflpQuitVlanResume on on
hwPortVlanSecureMacAlarm on on
hwMacTrapAlarm on on
hwSlotMacUsageRaisingThreshold on on
hwSlotMacUsageFallingThreshold on on
hwBoardPowerOff on on
hwMacTrapHashConflictAlarm on on
hwPortsecStaticFlpAlarm on on
Item |
Specification |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Trap name. Traps of the l2ifppi module include:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
To specify the parameter, run the snmp-agent trap enable feature-name l2ifppi command. |