Lab Simulation 26
Guidelines
This is a lab item in which tasks will be performed on virtual devices.
- Refer to the Tasks tab to view the tasks for this lab item.
- Refer to the Topology lab to access the device console(s) and perform the tasks.
- Console access is available for all required devices by clicking the device icon or using the tab(s) above the console window.
- All necessary preconfigurations have been applied.
- Do not change the enable password or hostname for any device.
- Save your configurations to NVRAM before moving to the next item.
- Click Next at the bottom of the screen to submit this lab and move to the next question.
- When Next is clicked, the lab closes and cannot be reopened.
Topology

Tasks
SW-3 and SW-4 are preconfigured with all necessary commands. All physical cabling is in place and verified. All connectivity must be operational.
1. Configure both SW-1 and SW-2 switch ports e0/0 and e0/1 for 802.1q trunking with only VLANS 1, 12, and 22 permitted.
2. Configure SW-1 port e0/2 for 802.1q trunking and include only VLANS 12 and 22.
3. Configure both SW-1 and SW-2 switch ports e0/0 and e0/1 for link aggregation using the industry standard protocol. All ports must be configured so that they immediately negotiate the link.
Correct Answer:
Step 1:
SW-1:
interface e0/0
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,12,22
interface e0/1
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,12,22
SW-2:
interface e0/0
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,12,22
interface e0/1
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,12,22
Step 2:
SW-1:
interface e0/2
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 12,22
Step 3:
SW-1:
interface range e0/0 - e0/1
channel-group 1 mode active
SW-2:
interface range e0/0 - e0/1
channel-group 1 mode active