How Rstp Works; Rstp Bpdu Processing - H3C S6850 Series Configuration Manual

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

Alternate port—Acts as the backup port for a root port. When the root port is blocked, the
alternate port takes over.
Backup port—Acts as the backup port of a designated port. When the designated port is
invalid, the backup port becomes the new designated port. A loop occurs when two ports of the
same spanning tree device are connected, so the device blocks one of the ports. The blocked
port is the backup port.
Edge port—Directly connects to a user host rather than a network device or network segment.
Port states
RSTP uses the discarding state to replace the disabled, blocking, and listening states in STP.
shows the differences between the port states in RSTP and STP.
Table 5 Port state differences between RSTP and STP
STP port state
Disabled
Blocking
Listening
Learning
Forwarding

How RSTP works

During RSTP calculation, the following events occur:
If a port in discarding state becomes an alternate port, it retains its state.
If a port in discarding state is elected as the root port or designated port, it enters the learning
state after the forward delay. The port learns MAC addresses, and enters the forwarding state
after another forward delay.
A newly elected RSTP root port rapidly enters the forwarding state if the following
requirements are met:
− The old root port on the device has stopped forwarding data.
− The upstream designated port has started forwarding data.
A newly elected RSTP designated port rapidly enters the forwarding state if one of the
following requirements is met:
− The designated port is configured as an edge port which directly connects to a user
− The designated port connects to a point-to-point link and receives a handshake

RSTP BPDU processing

In RSTP, a non-root bridge actively sends RSTP BPDUs at the hello time through designated ports
without waiting for the root bridge to send RSTP BPDUs. This enables RSTP to quickly detect link
failures. If a device fails to receive any RSTP BPDUs on a port within triple the hello time, the device
considers that a link failure has occurred. After the stored configuration BPDU expires, the device
floods RSTP BPDUs with the TC flag set to initiate a new RSTP calculation.
In RSTP, a port in blocking state can immediately respond to an RSTP BPDU with a lower priority
than its own BPDU.
RSTP port
state
Discarding
Discarding
Discarding
Learning
Forwarding
terminal.
response from the directly connected device.
Sends
Learns MAC
BPDU
addresses
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
11
Table 5
Forwards user
data
No
No
No
No
Yes

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents