Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
2.5 Rapid PVST+ Spanning Tree Protocol

Packet Tracer activity3.3.2.2ccna318 min

3.3.2.2 Packet Tracer - Configuring Rapid PVST Instructions

Want it marked as you type? Install the lab panel once and Packet Tracer shows your marks and a tutor you can ask.

Packet Tracer – Configuring Rapid PVST+

Topology

The Packet Tracer topology for Configuring Rapid PVST+. Three switches sit in a triangle: S3 at the top left, S1 at the top right and S2 below between them. Every pair of switches is joined by two trunk links, so there are six cables in all. S3 F0/1 goes to S1 F0/1 and S3 F0/2 goes to S1 F0/2. S3 F0/3 goes to S2 F0/1 and S3 F0/4 goes to S2 F0/2. S1 F0/3 goes to S2 F0/3 and S1 F0/4 goes to S2 F0/4. All three PCs hang off S2: S2 F0/11 to PC1 at 172.17.10.21, S2 F0/18 to PC2 at 172.17.20.22, and S2 F0/6 to PC3 at 172.17.30.23. The Packet Tracer title bar reads 3.3.2.2 Packet Tracer - Configuring Rapid PVST.pka.

Addressing Table

The addressing table for the Configuring Rapid PVST+ activity. Switch S1 has interface VLAN 99 at 172.17.99.11 with mask 255.255.255.0 and no default gateway; S2 has VLAN 99 at 172.17.99.12 and S3 has VLAN 99 at 172.17.99.13, both with the same mask and no gateway. PC1 uses its NIC at 172.17.10.21, mask 255.255.255.0, gateway 172.17.10.254. PC2 is at 172.17.20.22, mask 255.255.255.0, gateway 172.17.20.254. PC3 is at 172.17.30.23, mask 255.255.255.0, gateway 172.17.30.254.

Switch Port Assignment Specifications

The port assignments table for the Configuring Rapid PVST+ activity, with three columns: Ports, Assignments and Network. Port S2 F0/6 is assigned to VLAN 30 on network 172.17.30.0/24. Port S2 F0/18 is assigned to VLAN 20 on network 172.17.20.0/24. Port S2 F0/11 is assigned to VLAN 10 on network 172.17.10.0/24. All three ports are on S2, which matches the topology, where all three PCs cable to S2.

Objectives

Part 1: Configure VLANs

Part 2: Configure Rapid Spanning Tree PVST+ Load balancing

Part 3: Configure PortFast and BPDU Guard

Background

In this activity, you will configure VLANs and trunks, Rapid Spanning Tree PVST+, primary and secondary root bridges, and examine the configuration results. You will also optimize the network by configuring PortFast, and BPDU Guard on edge ports.

Step 1: Enable the user ports on S2 in access mode.

Refer to the topology diagram to determine which switch ports on S2 are activated for end- user device access. These three ports will be configured for access mode and enabled with the no shutdown command.

S2(config)# interface range f0/6,f0/11,f0/18
S2(config-if-range)# switchport mode access
S2(config-fi-range)# no shutdown

Step 2: Create VLANs.

Using the appropriate command, create VLANs 10, 20, 30, 40, 50, 60, 70, 80, and 99 on all of the switches.

S1(config)# vlan 10
S1(config-vlan)# vlan 20
S1(config-vlan)# vlan 30
S1(config-vlan)# vlan 40
S1(config-vlan)# vlan 50
S1(config-vlan)# vlan 60
S1(config-vlan)# vlan 70
S1(config-vlan)# vlan 80
S1(config-vlan)# vlan 99
S2(config)# vlan 10
S2(config-vlan)# vlan 20
S2(config-vlan)# vlan 30
S2(config-vlan)# vlan 40
S2(config-vlan)# vlan 50
S2(config-vlan)# vlan 60
S2(config-vlan)# vlan 70
S2(config-vlan)# vlan 80
S2(config-vlan)# vlan 99
S3(config)# vlan 10
S3(config-vlan)# vlan 20
S3(config-vlan)# vlan 30
S3(config-vlan)# vlan 40
S3(config-vlan)# vlan 50
S3(config-vlan)# vlan 60
S3(config-vlan)# vlan 70
S3(config-vlan)# vlan 80
S3(config-vlan)# vlan 99

Step 3: Assign VLANs to switch ports.

Port assignments are listed in the table at the beginning of the activity. Save your configurations after assigning switch ports to the VLANs.

S2(config)# interface f0/6
S2(config-if)# switchport access vlan 30
S2(config-if)# interface f0/11
S2(config-if)# switchport access vlan 10
S2(config-if)# interface f0/18
S2(config-if)# switchport access vlan 20

Step 4: Verify the VLANs.

Use the show vlan brief command on all switches to verify that all VLANs are registered in the VLAN table.

Step 5: Assign the trunks to native VLAN 99.

Use the appropriate command to configure ports F0/1 to F0/4 on each switch as trunk ports and assign these trunk ports to native VLAN 99.

S1(config)# interface range f0/1-4
S1(config-if-range)# switchport mode trunk
S1(config-if-range)# switchport trunk native vlan 99
S2(config)# interface range f0/1-4
S2(config-if-range)# switchport mode trunk
S2(config-if-range)# switchport trunk native vlan 99
S3(config)# interface range f0/1-4
S3(config-if-range)# switchport mode trunk
S3(config-if-range)# switchport trunk native vlan 99

Step 6: Configure the management interface on all three switches with an address.

S1(config)# interface vlan99
S1(config-if)# ip address 172.17.99.11 255.255.255.0
S2(config)# interface vlan99
S2(config-if)# ip address 172.17.99.12 255.255.255.0
S3(config)# interface vlan99
S3(config-if)# ip address 172.17.99.13 255.255.255.0

Verify that the switches are correctly configured by pinging between them.

Part 2: Configure Rapid Spanning Tree PVST+ Load Balancing

The Rapid Spanning Tree Protocol (RSTP; IEEE 802.1w) can be seen as an evolution of the 802.1D standard more so than a revolution. The 802.1D terminology remains primarily the same. Most parameters have been left unchanged so users familiar with 802.1D can rapidly configure the new protocol comfortably. In most cases, RSTP performs better than proprietary extensions of Cisco without any additional configuration. 802.1w can also revert back to 802.1D in order to interoperate with legacy bridges on a per-port basis.

Step 1: Configure STP mode.

Use the spanning-tree mode command to configure the switches to use rapid PVST as the STP mode.

S1(config)# spanning-tree mode rapid-pvst
S2(config)# spanning-tree mode rapid-pvst
S3(config)# spanning-tree mode rapid-pvst

Step 2: Configure Rapid Spanning Tree PVST+ load balancing.

Configure S1 to be the primary root for VLANs 1, 10, 30, 50, and 70. Configure S3 to be the primary root for VLANs 20, 40, 60, 80, and 99. Configure S2 to be the secondary root for all of the VLANs.

S1(config)# spanning-tree vlan 1,10,30,50,70 root primary
S2(config)# spanning-tree vlan 1,10,20,30,40,50,60,70,80,99 root secondary
S3(config)# spanning-tree vlan 20,40,60,80,99 root primary

Verify your configurations by using the show spanning-tree command.

Step 1: Configuring PortFast on S2.

PortFast causes a port to enter the forwarding state almost immediately by dramatically decreasing the time of the listening and learning states. PortFast minimizes the time it takes for the server or workstation to come online. Configure PortFast on S2 interfaces that are connected to PCs.

S2(config)# interface range f0/6 , f0/11 , f0/18
S2(config-if-range)# spanning-tree portfast

Step 2: Configuring BPDU Guard on S2.

The STP PortFast BPDU Guard enhancement allows network designers to enforce the STP domain borders and keep the active topology predictable. The devices behind the ports that have STP PortFast enabled are not able to influence the STP topology. At the reception of BPDUs, the BPDU Guard operation disables the port that has PortFast configured. The BPDU Guard transitions the port into err-disable state, and a message appears on the console. Configure BPDU Guard on S2 interfaces that are connected to PCs.

S2(config)# interface range f0/6 , f0/11 , f0/18
S2(config-if-range)# spanning-tree bpduguard enable

Step 3: Verify your configuration.

Use the show run command to verify your configuration.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net