PRACTICAL EXERCISE 1
DFN 4213
ADVANCED SWITCHING & ROUTING
NAME i)
ii)
MATRIC NO. i)
ii)
CLASS
LECTURER EMY HAZLINDA BINTI MOHAMMAD
RIDZWAN
DEPARTMENT JABATAN TEKNOLOGI MAKLUMAT DAN
KOMUNIKASI
Practical Exercise 1:
Configuring PVST+ and Rapid PVST+
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
S1 VLAN 99 172.31.99.1 255.255.255.0 N/A
S2 VLAN 99 172.31.99.2 255.255.255.0 N/A
S3 VLAN 99 172.31.99.3 255.255.255.0 N/A
PC1 NIC 172.31.10.21 255.255.255.0 172.31.10.254
PC2 NIC 172.31.20.22 255.255.255.0 172.31.20.254
PC3 NIC 172.31.30.23 255.255.255.0 172.31.30.254
Switch Port Assignment Specifications
Ports Assignments Network
S1 F0/6 VLAN 30 172.17.30.0/24
S2 F0/18 VLAN 20 172.17.20.0/24
S3 F0/11 VLAN 10 172.17.10.0/24
Learning Outcomes
Part 1: Configure VLANs
Part 2: Configure Spanning Tree PVST+ and Load Balancing
Part 3: Configure PortFast and BPDU Guard
Part 4: Configure Rapid Spanning Tree PVST+
Practical Exercise 1 – Configuring PVST+ and Rapid PVST+
Page 3 of 8
Background
In this activity, you will configure VLANs and trunks, and examine and configure the Spanning Tree Protocol
primary and secondary root bridges. You will also optimize the switched topology using PVST+, PortFast, and
BPDU guard.
Part 1: ConfigureVLANs
Step 1: Enable the user ports on S1, S2, and S3 in access mode.
Refer to the topology diagram to determine which switch ports (S1, S2, and S3) are activated for end-user
device access. These three ports will be configured for access mode and enabled with the no shutdown
command.
S1
[3 marks]
S2
[3 marks]
S3
[3 marks]
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
[2 marks]
S2
[2 marks]
S3
[2 marks]
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.
S1
[2 marks]
S2
[2 marks]
S3
[2 marks]
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
[3 marks]
S2
[3 marks]
S3
[3 marks]
Practical Exercise 1 – Configuring PVST+ and Rapid PVST+
Page 5 of 8
Step 6: Configure the management interface on all three switches with an address.
Verify that the switches are correctly configured by pinging between them.
S1
[2 marks]
S2
[2 marks]
S3
[2 marks]
Part 2: ConfigureSpanning TreePVST+ and Load Balancing
Because there is a separate instance of the spanning tree for every active VLAN, a separate root election is
conducted for each instance. If the default switch priorities are used in root selection, the same root is elected
for every spanning tree instance, as we have seen. This could lead to an inferior design. Some reasons to
control the selection of the root switch include:
 The root switch is responsible for generating BPDUs for STP 802.1D and is the focal point for spanning
tree to control traffic. The root switch must be capable of handling this additional load.
 The placement of the root defines the active switched paths in the network. Random placement is likely to
lead to suboptimal paths. Ideally the root is in the distribution layer.
 Consider the topology used in this activity. Of the six trunks configured, only three are carrying traffic.
While this prevents loops, it is a waste of resources. Because the root can be defined on the basis of the
VLAN, you can have some ports blocking for one VLAN and forwarding for another. This is demonstrated
below.
Step 1: Configure STP mode.
Use the spanning-tree mode command to configure the switches so they use PVST as the STP mode.
S1
[1 mark]
S2
[1 mark]
S3
[1 mark]
Step 2: Configure Spanning Tree PVST+ load balancing.
a. 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 VLANs.
S1
[1 mark]
S2
[1 mark]
S3
[1 mark]
b. Verify your configurations using the show spanning-tree command.
Part 3: ConfigurePortFast and BPDU Guard
Step 1: Configure PortFast on the switches.
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 the switch interfaces that are connected to PCs.
S1
[2 marks]
S2
[2 marks]
S3
[2 marks]
Step 2: Configure BPDU guard on the switches.
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
unable 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 the err-disable state, and a message
appears on the console. Configure BPDU guard on switch interfaces that are connected to PCs.
Practical Exercise 1 – Configuring PVST+ and Rapid PVST+
Page 7 of 8
S1
[2 marks]
S2
[2 marks]
S3
[2 marks]
Step 3: Verify your configuration.
Use the show running-configuration command to verify your configuration.
Part 4: ConfigureRapid Spanning TreePVST+
Step 1: Configure VLANs.
Based on the same topology, addressing table and switch port assignment table above, enable the user ports on
switches in access mode, create appropriate VLANs on all of the switches, assign VLANs to switch ports, assign
the trunks to native VLAN 99 and configure the management interface on all switches with an address.
Step 2: Configure Rapid Spanning Tree PVST+ mode.
Use the spanning-tree mode command to configure the switches to use rapid PVST as the STP mode.
S1
[1 mark]
S2
[1 mark]
S3
[1 mark]
Step 3: Configure PortFast and BPDU Guard.
Configure PortFast and BPDU Guard on all switch interfaces that are connected to PCs.
Reflection
Use the Add Simple PDU tool to create a PDU from PC1 to PC2 and PC3. Verify that ARP and ICMP are
selected in the Event List Filters. Click Capture/Forward to examine the ARP process.
PVST+ Rapid PVST+
(i) Record the loop-free path
between PC1 and PC2
(ii) Record the loop-free path
between PC1 and PC3
(iii) Time taken to accelerate the
STP convergence process
between PC1 and PC2
(iv) Time taken to accelerate the
STP convergence process
between PC1 and PC3
[4 marks]
Based on findings above, explain your understanding on spanning tree PVST+ and Rapid PVST+ modes:
[4 marks]

More Related Content

PDF
2.3.1.5 packet tracer configuring rapid pvst+ answer
DOCX
Packet Tracer: Cisco, Spanning tree protocol
DOCX
Layer 2 & layer 3 switching
PDF
Configure vtp
PPT
Managing Redundant Links & Inter-VLAN Routing
DOC
Lab 6.4.1 InterVLAN routing
PPT
Expl sw chapter_06_inter_vlan
PDF
Inter VLAN Routing
2.3.1.5 packet tracer configuring rapid pvst+ answer
Packet Tracer: Cisco, Spanning tree protocol
Layer 2 & layer 3 switching
Configure vtp
Managing Redundant Links & Inter-VLAN Routing
Lab 6.4.1 InterVLAN routing
Expl sw chapter_06_inter_vlan
Inter VLAN Routing

What's hot (20)

PPT
Day 14.2 configuringvla ns
PPT
07 module extending switched netwroks with virtual la ns
PPT
Ccna3 mod9-vtp
DOCX
How to create and delete vlan on cisco catalyst switch
PDF
Spanning Tree Protocol Cheat Sheet
PPTX
KPUCC-Rs instructor ppt_chapter3_final
PDF
Ccnp3 lab 3_5_en (hacer)
PDF
Ccnp3 lab 3_4_en
PDF
CCNA Lab 5-Configuring Inter-VLAN Routing
PDF
Cisco discovery drs ent module 3 - v.4 in english.
PPTX
Inter-VLAN Routing
PDF
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
PDF
Vlan lab
PPT
PPTX
VLAN Trunking Protocol (VTP)
Day 14.2 configuringvla ns
07 module extending switched netwroks with virtual la ns
Ccna3 mod9-vtp
How to create and delete vlan on cisco catalyst switch
Spanning Tree Protocol Cheat Sheet
KPUCC-Rs instructor ppt_chapter3_final
Ccnp3 lab 3_5_en (hacer)
Ccnp3 lab 3_4_en
CCNA Lab 5-Configuring Inter-VLAN Routing
Cisco discovery drs ent module 3 - v.4 in english.
Inter-VLAN Routing
CCNA Lab 4-Configuring EtherChannels and optimizing Spanning Tree Protocol on...
Vlan lab
VLAN Trunking Protocol (VTP)
Ad

Similar to Pe1 configuring pvst+ rapid pvst+ (20)

PDF
Exercise 4c stp rapid pvst+ question
PDF
CCN3Switching_lab_5_5_2
PDF
3.4.6-lab---configure-vlans-and-trunking.pdf
PDF
Interconnecting cisco networking devices part-2
PDF
Ccna icnd2-labs exercices
DOCX
Praktikum Lab 14 - Switch Security Configuration.docx
PDF
6.5.1.3 packet tracer layer 2 vlan security instructor
PDF
Ccna3 lab 9_1_5b_en
DOC
How to Configure QinQ?
DOCX
Ccna 4 final lab switchi
PPTX
Switching techniques in networking and uses
PDF
CCNA R&S-13-Spanning Tree Protocol Implementation
PDF
CCIE R&S Real Lab Workbbok 2018 updated
PDF
CCIE R&S Real TS-1 Config
PDF
CCIE R&S Real Lab H3 Config
PDF
CCIE R&S Real Lab H1 Config
PDF
CCIE R&S Real Lab H2 Config
PDF
Odl010024 qin q laboratory exercise guide issue1
Exercise 4c stp rapid pvst+ question
CCN3Switching_lab_5_5_2
3.4.6-lab---configure-vlans-and-trunking.pdf
Interconnecting cisco networking devices part-2
Ccna icnd2-labs exercices
Praktikum Lab 14 - Switch Security Configuration.docx
6.5.1.3 packet tracer layer 2 vlan security instructor
Ccna3 lab 9_1_5b_en
How to Configure QinQ?
Ccna 4 final lab switchi
Switching techniques in networking and uses
CCNA R&S-13-Spanning Tree Protocol Implementation
CCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real TS-1 Config
CCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H2 Config
Odl010024 qin q laboratory exercise guide issue1
Ad

Recently uploaded (20)

PDF
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
PDF
Testing & QA Checklist for Magento to Shopify Migration Success.pdf
PPT
12 Things That Make People Trust a Website Instantly
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PDF
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
PDF
Computer Networking, Internet, Casting in Network
PDF
Course Overview and Agenda cloud security
PPTX
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
DOCX
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PPTX
AI_Cyberattack_Solutions AI AI AI AI .pptx
PPTX
Basic understanding of cloud computing one need
PPTX
Partner to Customer - Sales Presentation_V23.01.pptx
PDF
Public for study about wiring to confirm.
PPTX
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
PPTX
Digital Project Mastery using Autodesk Docs Workshops
PPTX
Introduction to networking local area networking
PPTX
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
PPTX
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
PPTX
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
Testing & QA Checklist for Magento to Shopify Migration Success.pdf
12 Things That Make People Trust a Website Instantly
Alethe Consulting Corporate Profile and Solution Aproach
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
Computer Networking, Internet, Casting in Network
Course Overview and Agenda cloud security
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
Alethe Consulting Corporate Profile and Solution Aproach
AI_Cyberattack_Solutions AI AI AI AI .pptx
Basic understanding of cloud computing one need
Partner to Customer - Sales Presentation_V23.01.pptx
Public for study about wiring to confirm.
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
Digital Project Mastery using Autodesk Docs Workshops
Introduction to networking local area networking
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB

Pe1 configuring pvst+ rapid pvst+

  • 1. PRACTICAL EXERCISE 1 DFN 4213 ADVANCED SWITCHING & ROUTING NAME i) ii) MATRIC NO. i) ii) CLASS LECTURER EMY HAZLINDA BINTI MOHAMMAD RIDZWAN DEPARTMENT JABATAN TEKNOLOGI MAKLUMAT DAN KOMUNIKASI
  • 2. Practical Exercise 1: Configuring PVST+ and Rapid PVST+ Topology Addressing Table Device Interface IP Address Subnet Mask Default Gateway S1 VLAN 99 172.31.99.1 255.255.255.0 N/A S2 VLAN 99 172.31.99.2 255.255.255.0 N/A S3 VLAN 99 172.31.99.3 255.255.255.0 N/A PC1 NIC 172.31.10.21 255.255.255.0 172.31.10.254 PC2 NIC 172.31.20.22 255.255.255.0 172.31.20.254 PC3 NIC 172.31.30.23 255.255.255.0 172.31.30.254 Switch Port Assignment Specifications Ports Assignments Network S1 F0/6 VLAN 30 172.17.30.0/24 S2 F0/18 VLAN 20 172.17.20.0/24 S3 F0/11 VLAN 10 172.17.10.0/24 Learning Outcomes Part 1: Configure VLANs Part 2: Configure Spanning Tree PVST+ and Load Balancing Part 3: Configure PortFast and BPDU Guard Part 4: Configure Rapid Spanning Tree PVST+
  • 3. Practical Exercise 1 – Configuring PVST+ and Rapid PVST+ Page 3 of 8 Background In this activity, you will configure VLANs and trunks, and examine and configure the Spanning Tree Protocol primary and secondary root bridges. You will also optimize the switched topology using PVST+, PortFast, and BPDU guard. Part 1: ConfigureVLANs Step 1: Enable the user ports on S1, S2, and S3 in access mode. Refer to the topology diagram to determine which switch ports (S1, S2, and S3) are activated for end-user device access. These three ports will be configured for access mode and enabled with the no shutdown command. S1 [3 marks] S2 [3 marks] S3 [3 marks] 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 [2 marks] S2 [2 marks]
  • 4. S3 [2 marks] 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. S1 [2 marks] S2 [2 marks] S3 [2 marks] 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 [3 marks] S2 [3 marks] S3 [3 marks]
  • 5. Practical Exercise 1 – Configuring PVST+ and Rapid PVST+ Page 5 of 8 Step 6: Configure the management interface on all three switches with an address. Verify that the switches are correctly configured by pinging between them. S1 [2 marks] S2 [2 marks] S3 [2 marks] Part 2: ConfigureSpanning TreePVST+ and Load Balancing Because there is a separate instance of the spanning tree for every active VLAN, a separate root election is conducted for each instance. If the default switch priorities are used in root selection, the same root is elected for every spanning tree instance, as we have seen. This could lead to an inferior design. Some reasons to control the selection of the root switch include:  The root switch is responsible for generating BPDUs for STP 802.1D and is the focal point for spanning tree to control traffic. The root switch must be capable of handling this additional load.  The placement of the root defines the active switched paths in the network. Random placement is likely to lead to suboptimal paths. Ideally the root is in the distribution layer.  Consider the topology used in this activity. Of the six trunks configured, only three are carrying traffic. While this prevents loops, it is a waste of resources. Because the root can be defined on the basis of the VLAN, you can have some ports blocking for one VLAN and forwarding for another. This is demonstrated below. Step 1: Configure STP mode. Use the spanning-tree mode command to configure the switches so they use PVST as the STP mode. S1 [1 mark] S2 [1 mark] S3 [1 mark]
  • 6. Step 2: Configure Spanning Tree PVST+ load balancing. a. 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 VLANs. S1 [1 mark] S2 [1 mark] S3 [1 mark] b. Verify your configurations using the show spanning-tree command. Part 3: ConfigurePortFast and BPDU Guard Step 1: Configure PortFast on the switches. 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 the switch interfaces that are connected to PCs. S1 [2 marks] S2 [2 marks] S3 [2 marks] Step 2: Configure BPDU guard on the switches. 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 unable 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 the err-disable state, and a message appears on the console. Configure BPDU guard on switch interfaces that are connected to PCs.
  • 7. Practical Exercise 1 – Configuring PVST+ and Rapid PVST+ Page 7 of 8 S1 [2 marks] S2 [2 marks] S3 [2 marks] Step 3: Verify your configuration. Use the show running-configuration command to verify your configuration. Part 4: ConfigureRapid Spanning TreePVST+ Step 1: Configure VLANs. Based on the same topology, addressing table and switch port assignment table above, enable the user ports on switches in access mode, create appropriate VLANs on all of the switches, assign VLANs to switch ports, assign the trunks to native VLAN 99 and configure the management interface on all switches with an address. Step 2: Configure Rapid Spanning Tree PVST+ mode. Use the spanning-tree mode command to configure the switches to use rapid PVST as the STP mode. S1 [1 mark] S2 [1 mark] S3 [1 mark] Step 3: Configure PortFast and BPDU Guard. Configure PortFast and BPDU Guard on all switch interfaces that are connected to PCs.
  • 8. Reflection Use the Add Simple PDU tool to create a PDU from PC1 to PC2 and PC3. Verify that ARP and ICMP are selected in the Event List Filters. Click Capture/Forward to examine the ARP process. PVST+ Rapid PVST+ (i) Record the loop-free path between PC1 and PC2 (ii) Record the loop-free path between PC1 and PC3 (iii) Time taken to accelerate the STP convergence process between PC1 and PC2 (iv) Time taken to accelerate the STP convergence process between PC1 and PC3 [4 marks] Based on findings above, explain your understanding on spanning tree PVST+ and Rapid PVST+ modes: [4 marks]