Lab Simulation 39
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 tab 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 doses and cannot be reopened.
Topology

Tasks
All physical cabling is in place and verified. Connectivity for the Switches on ports E0/1, E0/2, and E0/3 must be configured and available for voice and data capabilities.
1. Configure Sw1 and Sw2 with the VLAN naming as indicated.
2. Assign the VLANs to the appropriate interfaces and set a non-trunking, non-tagged, single- VLAN for each interface according to the topology.
3. Configure interfaces E0/1, E0/2, and E0/3 so the interfaces do not pass the configured neighbor discovery protocol.
Correct Answer:
See the below explanation
Explanation:
Step 1: Configure VLANs on Sw1 and Sw2 with Names
1. Connect to Sw1 and Sw2 consoles to configure the VLANs with their names as specified in the table.
Commands for Sw1:
Sw1(config)# vlan 100
Sw1(config-vlan)# name IT_Data
Sw1(config-vlan)# exit
Sw1(config)# vlan 101
Sw1(config-vlan)# name HR_Data
Sw1(config-vlan)# exit
Sw1(config)# vlan 200
Sw1(config-vlan)# name IT_Voice
Sw1(config-vlan)# exit
Sw1(config)# vlan 201
Sw1(config-vlan)# name HR_Voice
Sw1(config-vlan)# exit
Commands for Sw2:
Sw2(config)# vlan 100
Sw2(config-vlan)# name IT_Data
Sw2(config-vlan)# exit
Sw2(config)# vlan 101
Sw2(config-vlan)# name HR_Data
Sw2(config-vlan)# exit
Sw2(config)# vlan 200
Sw2(config-vlan)# name IT_Voice
Sw2(config-vlan)# exit
Sw2(config)# vlan 201
Sw2(config-vlan)# name HR_Voice
Sw2(config-vlan)# exit
Step 2: Assign VLANs to Interfaces
Each interface on Sw1 and Sw2 should be configured as access mode (non-trunking, non- tagged) and assigned to the appropriate VLAN.
Commands for Sw1:
Sw1(config)# interface e0/1
Sw1(config-if)# switchport mode access
Sw1(config-if)# switchport access vlan 100
Sw1(config-if)# exit
Sw1(config)# interface e0/2
Sw1(config-if)# switchport mode access
Sw1(config-if)# switchport access vlan 200
Sw1(config-if)# exit
Sw1(config)# interface e0/3
Sw1(config-if)# switchport mode access
Sw1(config-if)# switchport access vlan 101
Sw1(config-if)# exit
Commands for Sw2:
Sw2(config)# interface e0/1
Sw2(config-if)# switchport mode access
Sw2(config-if)# switchport access vlan 200
Sw2(config-if)# exit
Sw2(config)# interface e0/2
Sw2(config-if)# switchport mode access
Sw2(config-if)# switchport access vlan 201
Sw2(config-if)# exit
Sw2(config)# interface e0/3
Sw2(config-if)# switchport mode access
Sw2(config-if)# switchport access vlan 100
Sw2(config-if)# exit
Step 3: Configure Interfaces to Disable Neighbor Discovery Protocol
To ensure that CDP (Cisco Discovery Protocol) or LLDP (Link Layer Discovery Protocol) does not advertise on the configured interfaces:
Commands for Sw1:
Sw1(config)# interface e0/1
Sw1(config-if)# no cdp enable
Sw1(config-if)# exit
Sw1(config)# interface e0/2
Sw1(config-if)# no cdp enable
Sw1(config-if)# exit
Sw1(config)# interface e0/3
Sw1(config-if)# no cdp enable
Sw1(config-if)# exit
Commands for Sw2:
Sw2(config)# interface e0/1
Sw2(config-if)# no cdp enable
Sw2(config-if)# exit
Sw2(config)# interface e0/2
Sw2(config-if)# no cdp enable
Sw2(config-if)# exit
Sw2(config)# interface e0/3
Sw2(config-if)# no cdp enable
Sw2(config-if)# exit
This completes the configuration, with each interface assigned to a single VLAN in access mode and CDP disabled on the necessary interfaces.