display snmp-agent trap feature-name swithsrvres all command displays the status of all traps on the SWITHSRVRES module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name swithsrvres all command to check the status of all traps of SWITHSRVRES. You can use the snmp-agent trap enable feature-name swithsrvres command to enable the trap function of SWITHSRVRES.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display all the traps of the SWITHSRVRES module.
<HUAWEI>display snmp-agent trap feature-name swithsrvres all
------------------------------------------------------------------------------ Feature name: SWITHSRVRES Trap number : 3 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwSrvServiceExceedThreshould on on hwSrvServiceExceedThreshouldResume on on hwSrvServiceConfigFailed 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 SWITHSRVRES module include:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|