95
The administrator also configures Port Fast BPDU filtering and Loop Guard to extend STP's capability to
prevent network loops. For all other STP settings, the administrator uses the default STP values.
To configure the switch:
1. Configure spanning tree mode to STP mode (IEEE 802.1d).
(QCT) #config
(QCT) (Config)#spanning-tree mode stp
2. Connect to Switch A and configure the priority to be higher (a lower value) than the other switches,
which use the default value of 32768.
(QCT) #config
(QCT) (Config)#spanning-tree mst priority 0 8192
3. Configure ports 4–20 to be in Edge Port mode.
(QCT) (Config)#interface range 0/4-0/20
(QCT) (Interface 0/4-0/20)#spanning-tree edgeport
(QCT) (Interface 0/4-0/20)#exit
4. Enable Loop Guard on ports 1–3 to help prevent network loops that might be caused if a port quits
receiving BPDUs.
(QCT) (Config)#interface range 0/1-0/3
(QCT) (Interface 0/1-0/3)#spanning-tree guard loop
(QCT) (Interface 0/1-0/3)#exit
5. Enable Port Fast BPDU Filter on ports 4-20. This feature affects only access ports that have the Edge Port
feature enabled.
(QCT) (Config)#interface range 0/4-0/20
(QCT) (Interface 0/4-0/20)#spanning-tree bpdufilter default
6. Repeat Step 1, Step 3 through Step 5 on Switch B, Switch C, and Switch D to complete the configuration.
3.8.5.2. Configuring MSTP
This example shows how to configure IEEE 802.1s Multiple Spanning Tree (MST) protocol on the switches
shown in Figure 15.