display snmp-agent trap feature-name asmngtrap all command displays the status of all traps for the ASMNGTRAP module.
This command can only be executed on a parent switch.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name asmngtrap all command to check the status of all traps of the ASMNGTRAP module. You can use the snmp-agent trap enable feature-name asmngtrap command to enable the trap function of the ASMNGTRAP module.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display all the traps of the ASMNGTRAP module.
<HUAWEI>display snmp-agent trap feature-name asmngtrap all
------------------------------------------------------------------------------ Feature name: ASMNGTRAP Trap number : 23 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwAsFaultNotify on on hwAsNormalNotify on on hwAsAddOffLineNotify on on hwAsDelOffLineNotify on on hwAsPortStateChangeToDownNotify on on hwAsPortStateChangeToUpNotify on on hwAsModelNotMatchNotify on on hwAsVersionNotMatchNotify on on hwAsNameConflictNotify on on hwAsSlotModelNotMatchNotify on on hwAsFullNotify on on hwUnimngModelNotMatchNotify on on hwAsBoardAdd on on hwAsBoardDelete on on hwAsBoardPlugIn on on hwAsBoardPlugOut on on hwAsInBlacklist on on hwAsUnconfirmed on on hwAsComboPortTypeChange on on hwAsOnlineFailNotify on on hwAsSlotIdInvalidNotify on on hwAsSysmacSwitchCfgErrNotify on on hwAsSlotOnlineFailNotify on on
Item |
Description |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Trap name of the module:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|