Back to CCNA 200-301 v2 questions

Scenario-based practice

SW1 and SW2 VLAN Trunking Practice Questions

Practise 200-301 VLAN and trunking questions covering access ports, trunk ports, allowed VLAN lists, native VLAN, inter-VLAN routing, and command-output troubleshooting.

15
scenario questions
200-301
exam code
Cisco
vendor

Scenario guide

How to approach sw1 and sw2 vlan trunking practice questions

Practise switch scenarios involving SW1, SW2, VLANs, trunk links, allowed VLAN lists and show interfaces trunk output.

Quick answer

VLAN and trunking questions usually test whether the VLAN exists, whether the trunk is active and whether the VLAN is allowed across the link.

Access ports, trunk ports and native VLAN behaviour.

Allowed VLAN lists and trunk verification.

How to read show vlan brief and show interfaces trunk output.

Why hosts in the same VLAN may fail across switches.

Related practice questions

Related 200-301 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Open the full VLAN trunking answer →

A switchport connected to another switch should carry multiple VLANs, but it was manually configured as an access port. What is the most likely operational result?

Question 2mediummulti select
Open the full VLAN trunking answer →

Which three of the following statements about VLAN Trunking Protocol (VTP) are correct? (Choose three.)

Question 3hardmultiple choice
Open the full VLAN trunking answer →

An engineer configures 802.1X port-based authentication on a Cisco IOS-XE switch for a voice VLAN deployment. After applying the configuration, IP phones on interface GigabitEthernet1/0/1 fail to receive a voice VLAN and remain in an unauthenticated state. The switchport is configured as an access port with voice VLAN 10. What is the most likely cause of the failure?

Exhibit

Interface: GigabitEthernet1/0/1
MAC Address: aaaa.bbbb.cccc
IP Address: Unknown
Status: Authz Success
Domain: DATA
Oper host mode: single-host
Oper control dir: both
Session timeout: N/A
Common Session ID: 0A1B2C3D4E5F6G7H8I9J
Acct Session ID: 0x00000001
Handle: 0x81000001

Current Policy: DEFAULT

Server Policies:
    Vlan Group: Vlan: 10

Method status list:
   Method           State
   dot1x            Authc Success
Question 4hardmultiple choice
Open the full VLAN trunking answer →

A network engineer configures an EtherChannel between two Cisco switches SW1 and SW2 using LACP. After configuration, hosts connected to SW1 report intermittent connectivity to hosts on SW2. The engineer checks the EtherChannel status and sees that the trunk is up but only allows VLAN 1, while the hosts communicate across VLANs 10 and 20. Which command should the engineer apply to both switches to resolve the issue?

Network Topology
+SW1# show etherchannel summaryH - Hot-standby (LACP only)u - unsuitable for bundlingd - default portNumber of aggregators: 1Group Port-channel Protocol Ports
Question 5mediumdrag order
Open the full VLAN trunking answer →

Drag and drop the steps into the recommended configuration order for setting up VLANs, assigning access ports, configuring 802.1Q trunking with a non-default native VLAN, and verifying the setup on a Cisco IOS-XE switch.

Question 6hardmultiple choice
Open the full VLAN trunking answer →

A network administrator is troubleshooting a connectivity issue between two remote sites connected via a WAN link. Hosts on VLAN 10 at Site A (192.168.10.0/24) cannot ping the server at Site B (10.10.20.100). The router at Site A has a default route configured with the next-hop IP address 10.10.10.2. The administrator checks the routing table on Router A and notices that the default route is not installed. What is the most likely cause of the problem?

Exhibit

RouterA# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is 10.10.10.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.10.10.2, GigabitEthernet0/0
      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C        10.10.10.0/30 is directly connected, GigabitEthernet0/0
L        10.10.10.1/32 is directly connected, GigabitEthernet0/0
S        10.10.20.0/24 [1/0] via 10.10.10.2, GigabitEthernet0/0
      192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.10.0/24 is directly connected, Vlan10
L        192.168.10.1/32 is directly connected, Vlan10
Question 7hardmultiple choice
Open the full VLAN trunking answer →

A switch port is configured with `switchport voice vlan 150` and `switchport access vlan 20`. Which statement best explains the design purpose?

Question 8hardmultiple choice
Open the full VLAN trunking answer →

In a network running STP, SW2 became the root bridge for VLAN 10. Both SW1 and SW2 have the same bridge priority. Why did SW2 become the root?

Exhibit

SW1# show spanning-tree vlan 10
VLAN0010
  Root ID    Priority    32778
             Address     0011.2233.4456
  Bridge ID  Priority    32778
             Address     0011.2233.4456

SW2# show spanning-tree vlan 10
VLAN0010
  Root ID    Priority    32778
             Address     0011.2233.4455
  Bridge ID  Priority    32778
             Address     0011.2233.4455
Question 9mediummultiple choice
Open the full VLAN trunking answer →

A switch displays the following output:

Interface        Status         VLAN

Gi1/0/5 connected 20 Gi1/0/6 notconnect 1 Gi1/0/24 trunk trunk

Which interface is operating as an access port in VLAN 20?

Question 10mediummultiple choice
Open the full VLAN trunking answer →

A switch stack is running PVST+. Users on VLAN 40 lose connectivity for roughly 30 seconds every time the uplink on SW2 flaps. Based on the exhibit, which change would most directly improve convergence for this VLAN?

Exhibit

show spanning-tree summary
Switch is in pvst mode
Root bridge for: VLAN0001 VLAN0010 VLAN0020
Extended system ID is enabled
Portfast Default is disabled

show spanning-tree vlan 40
Spanning tree enabled protocol ieee
Root ID    Priority    327...
Question 11hardmultiple choice
Open the full VLAN trunking answer →

Users in VLAN 60 on switch SW2 cannot reach the default gateway located on switch SW1. The trunk between SW1 and SW2 is operational and allows VLAN 60. What is the most likely reason for this issue?

Exhibit

SW1# show vlan brief
60  Users-60     active

SW2# show vlan brief
10  Users-10     active
20  Users-20     active

SW2# show interfaces trunk
Port        Mode         Encapsulation  Status        Native vlan
Gi0/1       on           802.1q         trunking      1

Port        Vlans allowed on trunk
Gi0/1       10,20,60

You are connected to R1. The network uses a router-on-a-stick design with a single switch (SW1) and two VLANs (10 and 20). Currently, hosts in VLAN 10 cannot ping hosts in VLAN 20, and the trunk between R1 and SW1 shows a native VLAN mismatch. Examine the provided configuration and output, then apply the necessary corrections to R1 so that inter-VLAN routing works correctly.

Exhibit

R1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 10
 ip address 192.168.20.1 255.255.255.0
!
R1#show interfaces trunk
Port        Mode         Encapsulation  Status        Native vlan
Gig0/0      on           802.1q         trunking      1

Port        Vlans allowed on trunk
Gig0/0      1-1005

Port        Vlans allowed and active in management domain
Gig0/0      1,10,20

Port        Vlans in spanning tree forwarding state and not pruned
Gig0/0      1,10,20

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.10.0/24 is directly connected, GigabitEthernet0/0.10
     192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.20.0/24 is directly connected, GigabitEthernet0/0.20
Question 13mediummulti select
Open the full VLAN trunking answer →

Which of the following statements about VLAN configuration and trunking on a Cisco switch are correct? (Choose all that apply.)

Question 14mediummulti select
Open the full VLAN trunking answer →

Which TWO commands are required to configure a switch port to support both a desktop PC and a VoIP phone using voice VLAN?

You are connected to WLC-1 via SSH. A new SSID 'CorpSecure' must be configured for 5 GHz clients using WPA3-Personal. However, after creation, clients can see the SSID but fail to associate. Review the WLC configuration and fix the issue so that clients can successfully associate and obtain an IP address from VLAN 100 (subnet 10.0.100.0/24).

Exhibit

WLC-1# show running-config
!
hostname WLC-1
!
interface GigabitEthernet0/0
 ip address 192.168.1.10 255.255.255.0
!
interface GigabitEthernet0/1
 ip address 10.0.0.1 255.255.255.252
!
interface GigabitEthernet0/2
 ip address 10.0.100.1 255.255.255.0
!
wireless management interface GigabitEthernet0/0
!
wlan CorpSecure 1 CorpSecure
 ssid CorpSecure
 security wpa psk ascii 7 1234567890
 no security wpa aes-ccmp
 security wpa2 ciphers aes
 security wpa2 psk ascii 7 1234567890
 no shutdown
!
wireless ap 1
 country US
!
wireless client vlan 100
!

These 200-301 practice questions are part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style 200-301 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.