Spanning tree configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual
Page 129
104
Task Command
Remarks
Display information about ports shut
down by spanning tree protection
functions.
display stp down-port [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display the historical information of port
role calculation for the specified MSTI or
all MSTIs.
display stp [ instance instance-id ] history
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Display the statistics of TC/TCN BPDUs
sent and received by all ports in the
specified MSTI or all MSTIs.
display stp [ instance instance-id ] tc [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the spanning tree status and
statistics.
display stp [ instance instance-id ]
[ interface interface-list ] [ brief ] [ | { begin
| exclude | include } regular-expression ]
Available in any view
Display the MST region configuration
information that has taken effect.
display stp region-configuration [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the root bridge information of all
MSTIs.
display stp root [ | { begin | exclude |
include } regular-expression ]
Available in any view
Clear the spanning tree statistics.
reset stp [ interface interface-list ]
Available in user
view
Spanning tree configuration example
NOTE:
In this configuration example, Device A, Device B, Device C, or Device D is the SecPath firewall.
Network requirements
As shown in
, all devices on the network are in the same MST region. Device A and Device B
work at the distribution layer. Device C and Device D work at the access layer.
Configure MSTP so that packets of different VLANs are forwarded along different spanning trees: Packets
of VLAN 10 are forwarded along MSTI 1, those of VLAN 30 are forwarded along MSTI 3, those of VLAN
40 are forwarded along MSTI 4, and those of VLAN 20 are forwarded along MSTI 0.
VLAN 10 and VLAN 30 are terminated on the distribution layer devices, and VLAN 40 is terminated on
the access layer devices, so the root bridges of MSTI 1 and MSTI 3 are Device A and Device B
respectively, and the root bridge of MSTI 4 is Device C.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer