nerdexam
Cisco

200-301 · Question #1091

Refer to the exhibit. VLAN 23 is being implemented between SW1 and SW2. The command show interface ethernet0/0 switchport has been issued on SW1. Ethernet0/0 on SW1 is the uplink to SW2. Which command

The correct answer is C. switchport trunk allowed vian add 23. To allow communication for a new VLAN on a trunk link without affecting existing VLANs, the new VLAN must be added to the allowed VLAN list.

Submitted by javi_es· Mar 5, 2026Network Access

Question

Refer to the exhibit. VLAN 23 is being implemented between SW1 and SW2. The command show interface ethernet0/0 switchport has been issued on SW1. Ethernet0/0 on SW1 is the uplink to SW2. Which command when entered on the uplink interface allows PC 1 and PC 2 to communicate without impact to the communication between PC 11 and PC 12?

Exhibits

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

Options

  • Aswitchport trunk allowed vlan 2-1001
  • Bswitchport trunk allowed vlan 23
  • Cswitchport trunk allowed vian add 23
  • Dswitchport trunk allowed vian 22-23

How the community answered

(46 responses)
  • A
    13% (6)
  • B
    24% (11)
  • C
    54% (25)
  • D
    9% (4)

Why each option

To allow communication for a new VLAN on a trunk link without affecting existing VLANs, the new VLAN must be added to the allowed VLAN list.

Aswitchport trunk allowed vlan 2-1001

The `switchport trunk allowed vlan 2-1001` command would overwrite the current allowed VLANs, potentially removing VLANs outside this range that are used by PC11 and PC12, thus disrupting their communication.

Bswitchport trunk allowed vlan 23

The `switchport trunk allowed vlan 23` command would remove all currently allowed VLANs and only permit VLAN 23, severely disrupting communication for PC11 and PC12 as well as all other VLANs.

Cswitchport trunk allowed vian add 23Correct

The `show interface ethernet0/0 switchport` output indicates that VLAN 23 is currently excluded (`Trunking VLANs Enabled: 1-22, 24-4094`). The `switchport trunk allowed vlan add 23` command will add VLAN 23 to the existing list of allowed VLANs on the trunk without removing any other VLANs, thus enabling PC1 and PC2 communication in VLAN 23 while preserving communication for PC11 and PC12 in other VLANs.

Dswitchport trunk allowed vian 22-23

The `switchport trunk allowed vlan 22-23` command would overwrite the current allowed VLANs, potentially removing VLANs outside this narrow range that are used by PC11 and PC12, thus disrupting their communication.

Concept tested: Trunk allowed VLAN management

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-5/configuration_guide/sw_l2cg/configuring_ethernet_interfaces.html

Topics

#VLAN Trunking#Cisco IOS Commands#Switchport Configuration#VLAN Management

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice