The display snmp-agent trap feature-name sspadp all command displays the status of all traps on the SSPADP module.
Usage Scenario
After enabling the trap function for the SSPADP module, you can run the display snmp-agent trap feature-name sspadp all command to check the status of all traps on the SSPADP module. To enable the trap function for the SSPADP module, run the snmp-agent trap enable feature-name sspadp command.
Prerequisites
The SNMP function has been enabled on the switch. For details, see snmp-agent.
# Display the status of all traps on the SSPADP module.
<HUAWEI>display snmp-agent trap feature-name sspadp all
------------------------------------------------------------------------------
Feature name: SSPADP
Trap number : 1
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwPatchDelNeedReStartTrap on on
Item |
Specification |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Name of a trap. hwPatchDelNeedReStartTrap: The switch needs to be restarted after the patch is deleted. |
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|