Professional Documents
Culture Documents
age 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Describe the characteristics associated with RSTP.
Configure RSTP parameters.
age 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
STP Weakness
STP RSTP
age 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RSTP Port Roles
D R
Root
D A
D D
A
R D
Roles Description
A backup path to downstream nodes, where redundant links
Backup
exist on the same LAN segment as the designated port.
An alternate path to the root bridge that differs from the path
Alternate
provided by the root port of the switch.
age 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RSTP Edge Ports
D R
Root
D A
D D
A
R
Edge Port
age 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Port States of RSTP
STP RSTP Port Role
age 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RST BPDU
age 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RST BPDU
Switch A
Switch B Switch C
RST BPDU
age 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RSTP Convergence
Switch A
32768 00-e0-fc-16-ee-43
D D
D D
D D
Switch B Switch C
All RSTP enabled switches begin as root and send RST BPDU.
Ports are set to a designated role and a discarding state.
age 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RST BPDU Proposal
Switch A
32768 00-e0-fc-16-ee-
43
D D
RST BPDU
RST BPDU
D D
D D
Switch B Switch C
age 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RSTP Synchronization Process
Switch A
32768 00-e0-fc-16-ee-
43
D D
RST BPDU
D D
D
Switch B Switch C
Upon receiving a superior BPDU, Switch B will cease to send RST BDPU con
taining proposals and begin to synchronize.
age 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RST BPDU Agreement
Switch A
32768 00-e0-fc-16-ee-
43
D D
RST BPDU
R D
D
Switch B Switch C
Once all downstream non-edge designated ports have been blocked, Switc
h B will send an agreement with the RST BPDU.
age 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
RSTP Converged Link
Switch A
32768 00-e0-fc-16-ee-
43
D D
RST BPDU
R RST BPDU D
D D
Switch B Switch C
RST BPDU
32768 00-e0-fc-41-42-59 32768 00-e0-fc-41-43-69
The downstream port is again unblocked and a new round of synchronization occu
rs between Switch B and Switch C.
age 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Link/Root Failure
Switch A
32768 00-e0-fc-16-ee-43
RST BPDU
D D
Switch B Switch C
RST BPDU
32768 00-e0-fc-41-42-59 32768 00-e0-fc-41-43-69
Loss of upstream RST BPDU signals link/device failure.
Proposal and agreement based convergence will ensue.
age 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Topology Change Process
Switch A
32768 00-e0-fc-16-ee-
43
RST BPDU
RST BPDU
D R
Switch B Switch C
During the sending of an agreement, addresses are flushed for all ports exc
ept the port on which the RST BPDU was received.
age 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
STP Inter-Operation
Switch A
32768 00-e0-fc-16-ee-43
D D
R R
STP Enabled
D A
Switch B Switch C
BPDU
32768 00-e0-fc-41-42-59 32768 00-e0-fc-41-43-69
RSTP switch ports will revert to STP when connected to a LAN segment con
taining an STP enabled device.
age 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Setting the Mode
Switch A Switch B
Root
Switch C
The stp mode rstp command allows all ports of the switch to generate RST BPDU.
age 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
[SWA]display stp
-------[CIST Global Info][Mode RSTP]-------
CIST Bridge :32768.00-e0-fc-16-ee-43
Bridge Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.00-e0-fc-16-ee-43 / 0
CIST RegRoot/IRPC :32768.00-e0-fc-16-ee-43 / 0
CIST RootPortId :0.0
BPDU-Protection :Disabled
TC or TCN received :37
TC count per hello :0
STP Converge Mode :Normal
Share region-configuration :Enabled
Time since last TC :0 days 0h:14m:43s
age 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Setting the Edge Port
Switch A Switch B
Root
G0/0/3
Edge Port
Switch C
age 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Setting the Edge Port
Switch A Switch B
Root
G0/0/3
Edge Port
Switch C
age 21 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
BPDU Protection
Switch A Switch B
Root
BPDU
Switch C
[SWC]stp bpdu-protection
age 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Loop Protection
Switch A Switch B
Root
BPDU
A
R
G0/0/1
Switch C
[SWC-GigabitEthernet0/0/1]stp loop-protection
If BDPU fail to be received by the downstream switch, the root port is block
ed to prevent switching loops from occurring.
age 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
age 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
What is the purpose of the sync that occurs during the RSTP proposal and agre
ement process?
age 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com