Configuring RSTP 83
#
stp enable
#
vlan-vpn tunnel
#
interface Ethernet1/0/1
port access vlan 10
vlan-vpn enable
#
interface Ethernet1/0/2
port link-type trunk
port trunk permit vlan all
#
4Configuration on Switch D
#
stp enable
#
vlan-vpn tunnel
#
interface Ethernet1/0/2
port access vlan 10
vlan-vpn enable
#
interface Ethernet1/0/1
port link-type trunk
port trunk permit vlan all
#
Configuring RSTP The Rapid Spanning Tree Protocol (RSTP) optimizes STP. RSTP allows a newly
elected root port or designated port to enter the forwarding state much quicker
under certain conditions than in STP. As a result, it takes a shorter time for the
network topology to become stable.
Although RSTP support rapid network convergence, it has the same drawback as
STP does: all bridges within a LAN share the same spanning tree, so redundant
links cannot be blocked based on VLANs, and the packets of all VLANs are
forwarded along the same spanning tree.