< Home

display snmp-agent trap feature-name l2ifppi all

Function

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

Format

display snmp-agent trap feature-name l2ifppi all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

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

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:

  • hwPortSecRcvInsecurePktAlarm: The device sends a Huawei proprietary trap when the number of learned secure MAC addresses on an interface of the device reaches the limit and the device receives invalid packets.

  • hwMflpVlanAlarm: The device sends a Huawei proprietary trap when MAC address flapping occurs in a VLAN on the device.

  • hwMflpVsiAlarm: The device sends a Huawei proprietary trap when MAC address flapping occurs in a VSI on the device.

  • hwMflpBdAlarm: The device sends a Huawei proprietary trap when MAC address flapping occurs in a BD on the device.

  • hwMacLimitOverThresholdAlarm: The device sends a Huawei proprietary trap when the number of MAC addresses reaches the threshold.

  • hwMacLimitOverThresholdAlarmResume: The device sends a Huawei proprietary trap when the number of MAC addresses falls below the threshold.

  • hwRecIllegalMacPktAlarm: The device sends a Huawei proprietary trap when the device receives packets with the MAC address of all 0s.

  • hwPortStickyReachMaxAlarm: The device sends a Huawei proprietary trap when the number of secure MAC addresses reaches the maximum value.

  • hwMflpQuitVlanAlarm: The device sends a Huawei proprietary trap when an interface is removed from a VLAN due to MAC address flapping.

  • hwMflpQuitVlanResume: An interface is removed from a VLAN due to MAC address flapping. After the recovery time is reached, the interface joins the VLAN again. At this time, the device sends a Huawei proprietary trap.

  • hwPortVlanSecureMacAlarm: The device sends a Huawei proprietary trap when the number of learned secure MAC addresses on an interface of the device reaches the limit and the device receives invalid packets.

  • hwMacTrapAlarm: The device sends a Huawei proprietary trap when MAC addresses are added or deleted on the device.

  • hwSlotMacUsageRaisingThreshold: The device sends a Huawei proprietary trap when the MAC address usage in a specified slot reaches a configured threshold.

  • hwSlotMacUsageFallingThreshold: The device sends a Huawei proprietary trap when the MAC address usage in a specified slot is restored.

  • hwBoardPowerOff: The device sends a Huawei proprietary trap when a card is forcibly powered off because the card does not support the changed Eth-Trunk specifications.

  • hwMacTrapHashConflictAlarm: The device sends a Huawei proprietary trap when a MAC address hash conflict occurs.

  • hwPortsecStaticFlpAlarm: An interface with port security enabled received a packet, and the source MAC address in the packet already exists in the static MAC table of another interface.

Default switch status

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

  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the trap function:

  • on: indicates that the trap function is enabled.

  • off: indicates that the trap function is disabled.

To specify the parameter, run the snmp-agent trap enable feature-name l2ifppi command.

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