beautypg.com

Spanning tree configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual

Page 108

background image

97

Task Command

Display the statistics of TC/TCN BPDUs sent and received
by all ports in the specified MSTI or all MSTIs (in IRF

mode).

display stp [ instance instance-list ] tc [ chassis
chassis-number slot slot-number ]

Display the spanning tree status and statistics (in
standalone mode).

display stp [ instance instance-list ] [ interface
interface-list | slot slot-number ] [ brief ]

Display the spanning tree status and statistics (in IRF
mode).

display stp [ instance instance-list ] [ interface
interface-list | chassis chassis-number slot

slot-number ] [ brief ]

Display the MST region configuration information that has
taken effect.

display stp region-configuration

Display the root bridge information of all MSTIs.

display stp root

Clear the spanning tree statistics.

reset stp [ interface interface-list ]

Spanning tree configuration example

Network requirements

As shown in

Figure 25

, 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. 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.

Figure 25 Network diagram

Permit: all VLANs

Per

mit:

VL

AN

s 2

0 a

nd 3

0

Pe

rm

it:

V

LA

Ns

10

an

d 2

0

Permit: VLANs 20 and 40

Permit: VLANs 20 and

30

Permit: VLANs 10 and

20

Device A

Device B

Device C

Device D

XGE1/0/3

XG

E1

/0/

2

XGE1/0/3

XG

E1/0

/2

XGE1/0/3

XGE1/0/3

XG

E1/0

/2

XG

E1

/0/

2

MST region

This manual is related to the following products: