The display snmp-agent trap feature-name mid_am all command displays the status of all traps for the AM module.
Usage Scenario
After enabling the trap function for the AM module, you can run this command to check the status of all traps for the AM module. You can run the snmp-agent trap enable feature-name mib_am command to enable the trap function for the AM module.
Prerequisites
SNMP has been enabled on the device. You can enable SNMP using the snmp-agent command.
# Display the status of all traps for the AM module.
<sysname>display snmp-agent trap feature-name mid_am all
------------------------------------------------------------------------------
Feature name: MID_AM
Trap number : 2
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwUsedIPReachThreshold on on
hwUsedIPReachThresholdResume on on
Item |
Description |
|---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Names of the traps related to the AM module, including:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|