Helper File
Task 1. Configure Rapid PVST+ on SW20.
On SW20
SW20#conf t
SW20(config)#spanning-tree mode rapid-pvst
Task 2. Restore the SW20-SW30 trunk and verify PC3 to PC1 reachability.
- Run
show run on SW20 and check interface E0/0.
- Change
E0/0 to a dot1q trunk and allow only VLAN 500.
SW20
SW20(config)#interface e0/0
SW20(config-if)#switchport trunk encapsulation dot1q
SW20(config-if)#switchport mode trunk
SW20(config-if)#switchport trunk allowed vlan 500
Verification
PC3#ping 10.10.100.10
!!!!!
Task 3. Restore the LACP port-channel between SW10 and SW20 and verify PC3 to PC2 reachability.
- Run
show run on SW20 and verify Port-channel 10 matches members E0/2 and E0/3.
- Apply trunk settings to
Po10. If your topology uses a different bundle number, use that interface.
- After
switchport trunk allowed vlan 500 on the port-channel, member links should inherit matching trunk behavior.
SW20
SW20(config)#int Po10
SW20(config-if)#switchport trunk encapsulation dot1q
SW20(config-if)#switchport mode trunk
SW20(config-if)#switchport trunk allowed vlan 500
Verification
SW20#show etherchannel summary
--output omitted--
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(SU) LACP Et0/2(P) Et0/3(P)
If Po10 is still down, compare these interfaces for matching trunk config
interface Port-channel10
switchport trunk allowed vlan 500
switchport trunk encapsulation dot1q
switchport mode trunk
interface Ethernet0/2
switchport trunk allowed vlan 500
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode active
interface Ethernet0/3
switchport trunk allowed vlan 500
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode active
Verification
PC3#ping 10.10.100.20
!!!!!
Save the configuration
SW20#copy running-config startup-config