Enabling Trap Messages Conforming To 802.1D Standard; Displaying And Maintaining Mstp - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] stp instance 1 portlog
# Enable log/trap output for the ports of all instances.
<Sysname> system-view
[Sysname] stp portlog all

Enabling Trap Messages Conforming to 802.1d Standard

A switch sends trap messages conforming to 802.1d standard to the network management device in the
following two cases:
The switch becomes the root bridge of an instance.
Network topology changes are detected.
Configuration procedure
Follow these steps to enable trap messages conforming to 802.1d standard:
To do...
Enter system view
Enable trap messages
conforming to 802.1d standard
in an instance
Configuration example
# Enable a switch to send trap messages conforming to 802.1d standard to the network management
device when the switch becomes the root bridge of instance 1.
<Sysname> system-view
[Sysname] stp instance 1 dot1d-trap newroot enable

Displaying and Maintaining MSTP

To do...
Display the state and statistics
information about spanning trees of
the current device
Display region configuration
Display information about the ports
that are shut down by STP
protection
Display information about the ports
that are blocked by STP protection
Display information about the root
port of the instance where the switch
reside
Clear statistics about MSTP
Use the command...
system-view
stp [ instance instance-id ]
dot1d-trap [ newroot |
topologychange ] enable
Use the command...
display stp [ instance instance-id ]
[ interface interface-list | slot
slot-number ] [ brief ]
display stp region-configuration
display stp portdown
display stp abnormalport
display stp root
reset stp [ interface interface-list ]
1-46
Remarks
Required
Remarks
Available in any
view
Available in user
view

Advertisement

Table of Contents
loading

Table of Contents