Beruflich Dokumente
Kultur Dokumente
Configuration
www.huawei.com
1 Destination
PCA Destination MAC
port
SWA
00-0D-56-BF-88-10 E0/2
00-0D-56-BF-88-10 00-0D-56-BF-88-20 E0/3
..... .....
E0/2 ..... .....
E0/3
E0/5
3
Destination
Destination MAC
port
E0/6
SWB 00-0D-56-BF-88-10 E0/5
PCB 00-0D-56-BF-88-20 E0/6
..... .....
..... .....
00-0D-56-BF-88-20
HUAWEI TECHNOLOGIES CO., All rights
Page 5
LTD. reserved
The First Problem Caused by Loop---
Broadcast Storm
Broadcast
1
PCA
SWA
4 2 3
SWB
PCA 1
SWA Destination MAC
Destination
port
00-0D-56-BF-88-10 00-0D-56-BF-88-10 E0/2
E0/2 ..... .....
E0/3 ..... .....
E0/5
3 Destination
Destination MAC
port
E0/6
00-0D-56-BF-88-10 E0/5
PCB SWB ..... .....
..... .....
00-0D-56-BF-88-20
PCA
SWA Destination
Destination MAC
port
00-0D-56-BF-88-10
E0/2 00-0D-56-BF-88-10 E0/2
E0/3 00-0D-56-BF-88-10 E0/4
E0/4
E0/5 E0/6
SWB
E0/10 E0/20
LANA LANB
E0/10 E0/20
SWB E0/20 E0/10
LANC SWC
Blocking a port
LAND LANE
01-80-C2-00-00-00 Configuration
LLC Header
BPDU
DSAP SSAP
Control
01000010 01000010
LANA LANB
SWB SWC
32768. 32768.
00e0-fc41-4259 LANC 00e0-fc41-43b9
LAND LANE
LANA LANB
Root Port Root Port
LAND LANE
SWB SWC
32768. 32768.
00e0-fc41-4259 LANC 00e0-fc41-43b9
Disabled
Listening
1
2 3 Port disables
Port disables 2
Blocking Learning
3
2
Forwarding
Port disables
Port will not forward data, learn MAC address and calculate
Disabled
spanning tree
Port will not forward data and learn MAC address, but it will
Listening
calculate spanning tree, receive and send BPDU
Port will not forward data and learn MAC address; it will receive
Blocking
and deal with BPDU but not send BPDU.
Port will not forward data ,but it will learn MAC address, calculate
Learning
spanning tree, receive and send BPDU.
SWA
Root
Destination
Destination MAC
port
00-0D-56-BF-88-20 E1
Root port ..... .....
LANA LANB ..... .....
E1
E1 SWC
wrong
SWB LANC destination port,
E2 E2 it should be E2
LAND LANE
00-0D-56-BF-88-20
Root
SWA
Topology change
notification BPDU
SWB
Topology change
acknowledge
configuration BPDU
LAND
STP RSTP
Port
Description
status
Discarding Discarding
Forwarding Forwarding
SWA
Root
32768.00e0-fc16-ee43
Designated port
Designated port
for LANA
for LANB
LANA LANB
Root port
SWB
32768. SWC 32768.
00e0-fc41-4259 LANC 00e0-fc41-43b9
Alternate
port
Designated New root port will
port for LANC forward data
immediately
SWA
Root bridge
32768.00e0-fc16-ee43
LANA LANB
SWB SWC
32768. 32768.
00e0-fc41-4259 LANC 00e0-fc41-43b9
Edge port
LAND LANE
SWA SWB
Root
D E0/2 R
R
E0/1 D A D
Proposal Agreement
Enter into
Keep forwarding
forwarding
status
status D
R E0/2 Agreement E0/2 R D
Discarding E0/1 E0/1 New Root
D A
SWC R Proposal D SWD
Keep forwarding Enter into
status forwarding status
SWE SWA
D Enter into
forwarding status
Proposal
prematurely
SWD LAN
Agreement
D R R
Proposal
SWB SWC
permit all
D VLANs to pass R
SWA SWB
D D
Root VLAN2 VLAN2 The path is cut,
VLAN3 VLAN3 path
disconnects
R A
Discarding
D D
SWC
VLAN2 VLAN3
LANA LANB
D R
SWA SWB
D D
Root VLAN2 This path is cut,
flow balance
VLAN3 can not be
R implemented
A
Discarding
D D
SWC
VLAN2 VLAN3
LANA LANB
LANA LANB
D R
SWA SWB
R D
D D D D
Root bridge Root bridge
for Instance 1 for Instance 2
A R
R A
Instance 1 includes Instance 2 includes
VLAN2 VLAN3
D D
SWC
VLAN2 VLAN3
LANA LANB
Region A
Configuration Identifier
1 Byte 0x00
Format Selector
Configuration
32 Bytes Configuration Name
Name
MST Configuration
16 Bytes Configuration Digest
Digest
SWA SWB
4096. D R 8192.
00e0-fc16-ee43 00e0-fc41-4259
D D
MSTI Regional
Root
R A
LANA LANB
Only support
RSTP
D R
D D
MSTI
Regional Root R A
Region A
Instance 1: VLAN2
SST bridge
CST: common
spanning tree
Only support
RSTP R D
D
D
D R A R Root
D D
MSTI
Regional Root R A Region A
Instance 1: VLAN2
D Only support D
RSTP
A R
Region A R D
D R
D D D
D
MSTI CIST
Regional Root R A Regional Root
A R
8192. R D 4096.
00e0-fc41-4259 00e0-fc16-ee43
D Only support D
RSTP
A R
32768. R D 32768.
000f-e212-f896 000f-e212-f890
D D
CIST
Region A Regional Root
A R
32768.
000f-e212-f8e1 IST: Instance 0
Alternate Port/
It is the same as that in RSTP
Backup Port
SWA SWB
E1/0/15 E1/0/15
Trunk
E1/0/12 A A E1/0/13
Instance 1: VLAN2 Instance 2: VLAN3
E1/0/2 E1/0/3
SWC
VLAN2 VLAN3
LANA LANB
SWA SWB
[SWC]stp enable
[SWC]stp mode mstp
[SWC]stp region-configuration
[SWC-mst-region]region-name RegionA
[SWC-mst-region]revision-level 1
[SWC-mst-region]instance 1 vlan 2
[SWC-mst-region]instance 2 vlan 3 SWC
[SWC-mst-region]active region-configuration
[SWC-mst-region]quit