nerdexam
Cisco

200-301 · Question #1353

Lab Simulation 12 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 correct interaction involves completing the switchport mode access command and then assigning the interface connecting to Server1 (eth0/2 on SW-2) to VLAN 20, as per the topology and task requirements.

Submitted by kim_seoul· Mar 5, 2026Network Access

Question

Lab Simulation 12 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 closes and cannot be reopened. Topology Tasks R1 has been pre-configured with all the necessary commands. All physical cabling is in place and verified. Connectivity from PC1, PC3, and the Server must be established to the switches, and each port must only allow one VLAN. 1. Configure the VLAN connecting to the switch port for PC3 with the name "SALES" 2. Configure the switch port connecting to Server1 3. Configure the switch port connecting to PC3 4. Ensure R1 discovers SW-1 via the Cisco proprietary neighbor discovery protocol and all other devices on the network are unable to discover SW-1 Answer: Task#1: sw-2#conf t sw-2(config)#vlan 20 sw-2(config-vlan)#name SERVER1 sw-2(config)#vlan 30 sw-2(config-vlan)#name SALES sw-2(config-vlan)#exit Task#2: sw-2(config)#interface eth0/2 sw-2(config-if)#switchport mode access sw-2(config-if)#switchport access vlan 20 sw-2(config-if)#no sh sw-2(config-if)#exit Task#3: sw-2(config)#interface eth0/3 sw-2(config-if)#sw-1port mode access sw-2(config-if)#sw-1port access vlan 30 sw-2(config-if)#no sh sw-2(config-if)#end sw-2#wr Task#4: sw-1#configure t sw-1(config)#cdp run sw-1(config)#interface fastEthernet 0/1 sw-1(config-if)#cdp enable sw-1(config-if)#no sh sw-1(config)#interface fastEthernet 0/2 sw-1(config-if)#no cdp enable sw-1(config-if)#no sh sw-1(config-if)#end sw-1#wr

Exhibits

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

Explanation

The correct interaction involves completing the switchport mode access command and then assigning the interface connecting to Server1 (eth0/2 on SW-2) to VLAN 20, as per the topology and task requirements.

Approach. The lab simulation provides the context for configuring switch SW-2. The partial answer shows that VLAN 20 and VLAN 30 have been created and named 'SERVER1' and 'SALES' respectively, addressing Task 1 and part of Task 2's setup. The current command prompt is sw-2(config-if)#switchport m, indicating the test-taker is configuring interface eth0/2 (which connects to Server1). The task requirement states 'each port must only allow one VLAN' and the table specifies Server1 is in VLAN 20. Therefore, the correct interaction to complete Task 2 requires two commands:

  1. mode access: This completes the switchport m command to configure the interface as an access port, ensuring it belongs to a single VLAN and connects to an end device.
  2. switchport access vlan 20: This command explicitly assigns interface eth0/2 to VLAN 20, as required for Server1 in the provided table. This fulfills the requirement of 'each port must only allow one VLAN' and assigns the correct VLAN for Server1.

Common mistakes.

  • common_mistake. Common mistakes include:
  • Typing switchport mode trunk: This is incorrect because eth0/2 connects to an end device (Server1), not another switch or a device that carries multiple VLANs. Trunk ports are used for inter-switch links or links to routers where multiple VLANs need to be transmitted.
  • Typing switchport access vlan 30: This would assign Server1 to VLAN 30, which is incorrect according to the table; Server1 should be in VLAN 20. VLAN 30 is designated for PC3.
  • Forgetting to configure switchport access vlan: Even if switchport mode access is correctly applied, failing to assign the port to a specific VLAN will leave it in the default VLAN (VLAN 1, if not changed), preventing Server1 from communicating within VLAN 20.
  • Configuring the wrong interface: For example, attempting to configure eth0/3 instead of eth0/2 for Server1. The topology clearly shows eth0/2 connects to Server1.

Concept tested. This question primarily tests the ability to configure VLANs and switch access ports on Cisco IOS devices. Key concepts include: VLAN creation and naming, assigning interfaces to specific access VLANs, understanding the difference between access and trunk ports, and interpreting network topologies and requirements for end-device connectivity.

Topics

#VLAN assignment#Switchport access mode

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice