nerdexam
Cisco

200-301 · Question #1553

Lab Simulation 34 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

Lab Simulation 34: VLAN Configuration and LLDP --- Overall Goal This lab configures two Cisco switches for a converged network - one that carries both data traffic (PCs) and voice traffic (IP phones) on the same physical infrastructure, but logically separated using VLANs. The fi

Submitted by kavita_s· Mar 5, 2026Network Access

Question

Lab Simulation 34 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 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 both switches to use the L2 vendor-neutral discovery protocol to broadcast device information, including the native VLAN across the e0/0 interfaces. Answer: Task 1. Configure Sw1 and Sw2 with the VLAN naming as indicated. SW-1(config)#vlan 77 SW-1(config-vlan)#name IT_User_VLAN SW-1(config-vlan)#exit SW-1(config)#vlan 88 SW-1(config-vlan)#name HR_User_VLAN SW-1(config-vlan)#exit SW-1(config)#vlan 177 SW-1(config-vlan)#name IT+Voice_VLAN SW-1(config-vlan)#exit SW-1(config)#vlan 188 SW-1(config-vlan)#name HR_User_VLAN SW-1(config-vlan)#exit SW-2(config)#vlan 77 SW-2(config-vlan)#name IT_User_VLAN SW-2(config-vlan)#exit SW-2(config)#vlan 88 SW-2(config-vlan)#name HR_User_VLAN SW-2(config-vlan)#exit SW-2(config)#vlan 177 SW-2(config-vlan)#name IT+Voice_VLAN SW-2(config-vlan)#exit SW-2(config)#vlan 188 SW-2(config-vlan)#name HR_User_VLAN SW-2(config-vlan)#exit Task 2. Assign the VLANs to the appropriate interfaces and set a non-trunking, non-tagged, single-VLAN for each interface according to the topology. SW-1(config)#interface range E0/1-2 SW-1(config-if)#switchport mode access SW-1(config-if)#switchport access vlan 77 SW-1(config)#interface range E0/3 SW-1(config-if)#switchport mode access SW-1(config-if)#switchport access vlan 88 SW-1(config)#interface range E0/1 SW-1(config-if)#switchport mode access SW-1(config-if)#switchport access vlan 177 SW-1(config)#interface range E0/3 SW-1(config-if)#switchport mode access SW-1(config-if)#switchport access vlan 188 SW-2(config)#interface range E0/3 SW-2(config-if)#switchport mode access SW-2(config-if)#switchport access vlan 77 SW-2(config)#interface range E0/1 SW-2(config-if)#switchport mode access SW-2(config-if)#switchport access vlan 88 SW-2(config)#interface range E0/2 SW-2(config-if)#switchport mode access SW-2(config-if)#switchport access vlan 177 SW-2(config)#interface range E0/1 SW-2(config-if)#switchport mode access SW-2(config-if)#switchport access vlan178 Task 3. Configure Sw1 and Sw2 to allow neighbor discovery via the vendor-neutral protocol on e0/0. SW-1(config)#lldp run SW-2(config)#lldp run

Exhibits

200-301 question #1553 exhibit 1
200-301 question #1553 exhibit 2

Explanation

Lab Simulation 34: VLAN Configuration and LLDP


Overall Goal

This lab configures two Cisco switches for a converged network - one that carries both data traffic (PCs) and voice traffic (IP phones) on the same physical infrastructure, but logically separated using VLANs. The final task enables LLDP so switches can discover their neighbors in a vendor-neutral way.


Core Concepts Before You Start

ConceptWhat It Is
VLANA logical network segment - isolates broadcast domains
Access portA port assigned to exactly one VLAN; frames are untagged
Voice VLANA dedicated VLAN for VoIP traffic; keeps voice off the data VLAN
LLDPIEEE 802.1AB - a vendor-neutral Layer 2 discovery protocol (vs. CDP, which is Cisco-proprietary)

Task 1: Create and Name VLANs

SW-1(config)# vlan 77
SW-1(config-vlan)# name IT_User_VLAN

Why this is necessary:

  • VLANs don't exist until you create them. A switch won't assign traffic to VLAN 77 until VLAN 77 is defined in the VLAN database.
  • Names are optional technically, but exams and real environments use them for human-readable identification. The name replaces the default VLAN0077 label in show vlan brief.

The four VLANs and their purpose:

VLAN IDNamePurpose
77IT_User_VLANData traffic for IT department PCs
88HR_User_VLANData traffic for HR department PCs
177IT+Voice_VLANVoIP traffic for IT department phones
188HR_Voice_VLANVoIP traffic for HR department phones

The pairing is intentional: each department has a data VLAN and a matching voice VLAN, keeping voice traffic separated from data for QoS and security.

What goes wrong if skipped:

  • If you try to assign an interface to VLAN 77 before creating it, on some IOS versions the VLAN is auto-created but without a name - you'll fail the naming requirement.
  • On stricter IOS versions, assigning a non-existent VLAN to a port leaves the port inactive.

Important note: Both switches must have identical VLAN databases for end-to-end communication. That's why you run the same VLAN creation commands on both SW1 and SW2.


Task 2: Assign VLANs to Interfaces (Access Mode)

SW-1(config)# interface range E0/1-2
SW-1(config-if)# switchport mode access
SW-1(config-if)# switchport access vlan 77

switchport mode access - Why it's required

This command does two things:

  1. Forces the port into access mode (non-trunking) - it will never negotiate a trunk with a neighbor
  2. Makes the port carry exactly one VLAN, untagged

The lab explicitly says "non-trunking, non-tagged, single-VLAN" - this is the exact definition of an access port.

Without switchport mode access, the port defaults to dynamic auto or dynamic desirable, meaning it might try to negotiate a trunk with whatever is plugged in. That violates the lab requirement.

switchport access vlan X - Assigns the VLAN

This places all frames arriving/leaving this port into the specified VLAN. The frame has no 802.1Q tag on the wire - the switch adds/removes the tag internally.

Voice VLAN consideration

The lab says "voice and data capabilities." Normally in production you'd use:

switchport voice vlan 177

...alongside the data VLAN to let an IP phone tag its own traffic. However, this lab specifies single-VLAN, non-tagged per port, meaning each physical port is assigned to either a data VLAN or a voice VLAN - not both simultaneously. The topology diagram (not visible here) shows which specific ports connect to phones vs. PCs.

What goes wrong if skipped or misordered:

  • Skipping switchport mode access and only setting switchport access vlan still works on most IOS, but leaves the port in auto-negotiation mode - a security risk (VLAN hopping via DTP).
  • Setting the VLAN before the mode is generally safe, but the mode command should come first as a best practice to ensure the port is in the correct state before the VLAN assignment takes effect.
  • Assigning the wrong VLAN to a port means traffic ends up in the wrong broadcast domain - PCs can't reach their gateway, phones register to the wrong subnet.

Task 3: Enable LLDP on e0/0

SW-1(config)# lldp run
SW-2(config)# lldp run

Why LLDP (not CDP)?

The question says "L2 vendor-neutral discovery protocol" - this is the key phrase:

  • CDP (Cisco Discovery Protocol) = Cisco proprietary
  • LLDP (Link Layer Discovery Protocol, IEEE 802.1AB) = vendor-neutral, works across Cisco, Juniper, HP, etc.

lldp run enables LLDP globally on the switch. By default, after enabling it globally, LLDP operates on all interfaces - including e0/0, which is the interface the lab specifies for neighbor discovery.

LLDP advertises information such as:

  • Device hostname and capabilities
  • Interface name and description
  • Native VLAN (relevant here since the lab mentions broadcasting native VLAN info)
  • System description and management address

What goes wrong if skipped:

  • Without LLDP enabled, neighboring devices can't exchange Layer 2 topology information across e0/0.
  • If you use cdp run instead of lldp run, you fail the "vendor-neutral" requirement even though CDP would functionally discover neighbors - it's Cisco-only.
  • If you enable LLDP but then disable it on e0/0 with no lldp transmit / no lldp receive, neighbors won't be discovered on that interface.

Save to NVRAM

The lab instructions require saving before moving on:

SW-1# copy running-config startup-config
SW-2# copy running-config startup-config

Or shorthand: write memory. If you skip this, a reload wipes all your configuration since it was only in RAM.


Memory Tips

What to RememberHow to Remember It
VLAN creation order: create -> name -> exitThink: "Build the room, label the door, leave"
Access port: mode first, then VLAN"Mode before membership"
LLDP = vendor-neutral"L" for "Lingua franca" (universal language) vs. CDP = "Cisco's Dialect Protocol"
lldp run is globalOne command, all ports - no per-interface required for basic operation
Voice VLANs are higher numbers177 > 77, 188 > 88 - voice "lives above" data

Quick Validation Commands

After configuration, use these to verify:

show vlan brief                  # Confirms VLANs exist, named, and ports assigned
show interfaces E0/1 switchport  # Confirms access mode and VLAN assignment
show lldp neighbors              # Confirms LLDP is running and sees neighbors
show lldp neighbors detail       # Shows native VLAN and full neighbor info

Topics

#VLANs#Switchport Access#LLDP#Ethernet Switching

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice