RSTP - Rapid STP

Varianty:

Root Bridge - zvolen stejně jako v 802.1D, podle nejnižšího BID

Role portů:

Stavy portů:

RSTP BPDU:

RSTP Convergence:

Typy portů:

Edge port

Root port

Point-to-point port

Synchronizace:

Změny topologie:

Konfigurace:

Konfigurace edge portů:

Switch(config-if)# spanning-tree portfast

Nastavení p2p pro half-duplex linku: (propojení switchů na half-duplexu)

Switch(config-if)# spanning-tree link-type point-to-point

Zapnutí RPVSTP+:

Switch(config)# spanning-tree mode rapid-pvst

Přechod zpět na PVST+:

Switch(config)# spanning-tree mode pvst
Switch# show spanning-tree
Switch# show spanning-tree vlan vlan-id
Switch#show spanning-tree vlan 1
VLAN0001
  Spanning tree enabled protocol rstp
  Root ID    Priority    0
             Address     0001.421C.5EA1
             Cost        4
             Port        25(GigabitEthernet0/1)
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1  (priority 0 sys-id-ext 1)
             Address     0060.3E78.B994
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/23           Altn BLK 19        128.23   P2p
Fa0/24           Altn BLK 19        128.24   P2p
Gi0/1            Root FWD 4         128.25   P2p
Gi0/2            Desg FWD 4         128.26   Shr