LACP with STP Sim 2
You work for SWITCH.com. They have just added a newswitch (SwitchB) to the existing network as shown in
the topology diagram.
RouterA is currently configured correctly and is providing the routing function for devices on SwitchAand
SwitchB. SwitchA is currently configured correctly,but will need to be modified to support the addition of
SwitchB. SwitchB has a minimal configuration. You have been tasked with competing the configuration of
SwitchA and SwitchB. SwitchA and SwitchB use Cisco as the enable password.
Configuration Requirements for SwitchA
The VTP and STP configuration modes on SwitchA should not be modified.
Steps
· SwitchA needs to be the root switch for vlans 11,12, 13, 21, 22 and 23. All other vlans should be left are their
default values.
Configuration Requirements for SwitchB
– Vlan 21, Name: Marketing, will support two servers attached to fa0/9 and fa0/10
– Vlan 22, Name: Sales, will support two servers attached to fa0/13 and fa0/14
– Vlan 23, Name: Engineering, will support two servers attached to fa0/15 and fa0/16
· Access ports that connect to server should transition immediately to forwarding state upon detectingthe
connection of a device.
· SwitchB VTP mode needs to be the same as SwitchA.
· SwitchB must operate in the same spanning tree mode as SwitchA
· No routing is to be configured on SwitchB
· Only the SVI vlan 1 is to be configured and it isto use address 192.168.1.11/24
Inter-switch Connectivity Configuration Requirements:
· For operational and security reasons trunking should be unconditional and Vlans 1, 21, 22 and 23 should
tagged when traversing the trunk link.
· The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum
use of their bandwidth for all vlans. This mode should be done with a non- proprietary protocol, with SwitchA
controlling activation.
· Propagation of unnecessary broadcasts should be limited using manual pruning on this trunk link.
Answer:
Explanation:
SwitchA
vlan 21
name Marketing
vlan 22
name Sales
vlan 23
name Engineering
exit
spanning-tree vlan 1,11-13,21-23,99 root primary
int range fa0/3-4
channel-protocol lacp
channel-group 1 mode active
no shutdown
exit
int port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
no shutdown
exit
copy running-configuration startup-configuration
SwitchB: verify with show run if you need to create vlans 21-23 and verify trunk’s native vlan (remove the wrong
native if not 99)
conf t
int vlan 1
ip address 192.168.1.11 255.255.255.0
no shutdown
exit
vtp mode transparent
spanning-tree mode rapid-pvst
int range fa0/9-10
switchport mode access
switchport access vlan 21
spanning-tree portfast
no shutdown
exit
int range fa0/13-14
switchport mode access
switchport access vlan 22
spanning-tree portfast
no shutdown
exit
int range fa0/15-16
switchport mode access
switchpor access vlan 23
spanning-tree portfast
no shutdown
exit
int range fa0/3-4
channel-protocol lacp
channel group 1 mode access passive
no shutdown
exit
int port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
switchport allowed vlan 1,21-23
no shutdown
copy running-configuration startup-configuration