The display snmp-agent trap feature-name mstp all command displays all trap messages of the MSTP module.
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. Then the network administrator immediately takes measures to resolve the problem.
The display snmp-agent trap feature-name mstp all command displays whether all trap functions of the MSTP module are enabled.
# Display all trap messages of the MSTP module.
<HUAWEI> display snmp-agent trap feature-name mstp all ------------------------------------------------------------------------------ Feature name: MSTP Trap number : 24 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwMstpiPortStateForwarding off off hwMstpiPortStateDiscarding off off hwMstpiBridgeLostRootPrimary off off hwMstpiPortBpduGuarded off off hwMstpiPortRootGuarded off off hwMstpiPortLoopGuarded off off newRoot off off topologyChange off off hwMstpiEdgePortChanged off off hwMstpiTcGuarded off off hwMstpProNewPortStateForwarding off off hwMstpProNewPortStateDiscarding off off hwMstpProNewBridgeLostRootPrimary off off hwMstpProNewPortBpduGuarded off off hwMstpProNewPortRootGuarded off off hwMstpProNewPortLoopGuarded off off hwMstpProNewEdgePortChanged off off hwMstpProTcGuarded off off hwMstpProRootChanged off off hwMstpProLoopbackDetected off off hwMstpPortCountThreshold off off hwMstpPortCountThresholdResume off off hwMstpProRootLost on off hwMstpProRootResume on off
Item |
Description |
---|---|
Feature name |
Name of the module to which a trap message belongs. |
Trap number |
Number of trap messages. |
Trap name |
Name of a trap message of the MSTP module:
|
Default switch status |
Status of the default trap function:
|
Current switch status |
Status of the current trap function:
To specify the parameter, run the snmp-agent trap enable feature-name mstp command. |