The display snmp-agent trap feature-name stack all command displays the status of all stack traps.
You can use this command to check the status of all stack traps. These traps can be enabled or disabled using the snmp-agent trap enable feature-name command.
# Display the status of all stack traps.
<HUAWEI> display snmp-agent trap feature-name stack all
------------------------------------------------------------------------------
Feature name: stack
Trap number : 22
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwStackLinkUp on on
hwStackLinkDown on on
hwStackStandbyChange on on
hwStackSwitchOver on on
hwStackSystemRestart on on
hwStackStackMemberAdd on on
hwStackStackMemberLeave on on
hwStackStackMacChange on on
hwStackLogicStackPortLinkErr on on
hwStackPhyStackPortLinkErr on on
hwPhyStackPortIsDown on on
hwPhyStackPortIsUp on on
hwStackPortConfigureFailed on on
hwStackMemberExceedSpec on on
hwPhyStackPortErrorDown on on
hwPhyStackPortErrorDownRecover on on
hwPhyStackVlanConflict on on
hwStackPortErrorDown on on
hwStackPortErrorDownRecovery on on
hwStackSetUpFailure on on
hwStackAutoConfigFailed on on
hwStackPortLinkErr on on
Item |
Description |
---|---|
Feature name |
Name of the feature for which the traps are defined. |
Trap number |
Number of traps. |
Trap name |
Name of a trap:
|
Default switch status |
Default status of a trap:
|
Current switch status |
Current status of a trap:
A trap can be enabled or disabled using the snmp-agent trap enable feature-name command. |