< Home

display snmp-agent trap feature-name poetrap all

Function

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

Format

display snmp-agent trap feature-name poetrap 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 poetrap all command to check the status of all traps of POETRAP. You can use the snmp-agent trap enable feature-name poetrap command to enable the trap function of POETRAP.

Prerequisites

SNMP has been enabled. For details, see snmp-agent.

Example

# Display all the traps of the POETRAP module.

<HUAWEI>display snmp-agent trap feature-name poetrap all
------------------------------------------------------------------------------                                                      
Feature name: POETRAP                                                                                                               
Trap number : 16                                                                                                                    
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwPoePdConnected                on                      on                                                                          
hwPoePdDisconnected             on                      on                                                                          
hwPoePdClassInvalid             on                      on                                                                          
hwPoePdClassOvercurrent         on                      on                                                                          
hwPoePowerOff                   on                      on                                                                          
hwPoePowerOn                    on                      on                                                                          
hwPoePdPriorityDifferent        on                      on                                                                          
hwPoePowerOverUtilizationThreshold                                                                                                  
                                on                      on                                                                          
hwPoePowerOverUtilizationThresholdResume                                                                                            
                                on                      on                                                                          
hwPoePowerAbsent                on                      on                                                                          
hwPoePowerAbsentResume          on                      on                                                                          
hwPoeRpsPowerOutputAlarm        on                      on                                                                          
hwPoeRpsPowerOutputAlarmResume  on                      on                                                                          
hwPoeCardAbsent                 on                      on                                                                          
hwPoePortFail                   on                      on                                                                          
hwPoePortFailResume             on                      on
Table 1 Description of the display snmp-agent trap feature-name poetrap 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:
  • hwPoePdConnected: A PD is connected to a port.
  • hwPoePdDisconnected: A PD is disconnected from a port.
  • hwPoePdClassInvalid: The system detects that the PD class is invalid.
  • hwPoePdClassOvercurrent: The system detects that a PD is in overcurrent condition during PD classification.
  • hwPoePowerOff: A PD connected to a port is powered off.
  • hwPoePowerOn: A port meets power supply requirements.
  • hwPoePdPriorityDifferent: The port priority is inconsistent with the PD priority.
  • hwPoePowerOverUtilizationThreshold: The total PoE power consumption is greater than or equal to the alarm threshold.
  • hwPoePowerOverUtilizationThresholdResume: The total PoE power consumption is less than the alarm threshold.
  • hwPoePowerAbsent: No PoE power module on a PoE device is working properly.
  • hwPoePowerAbsentResume: There are PoE power modules working properly on a PoE device.
  • hwPoeRpsPowerOutputAlarm: An RPS power module fails to provide full power for the connected PoE device.
  • hwPoeRpsPowerOutputAlarmResume: An RPS power module can provide the full power for the connected PoE device.
  • hwPoeCardAbsent: A PoE card is not properly installed.
  • hwPoePortFail: A PoE port is faulty.
  • hwPoePortFailResume: A PoE port recovers from a failure.

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.

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