nerdexam
Cisco

200-301 · Question #1144

Refer to the exhibit. An engineer configures interface fa0/1 on SW1 and SW2 to pass traffic from two different VLANs. For security reasons, company policy requires the native VLAN to be set to a nonde

The correct answer is A. Switch(config-if)#switchport mode trunk. To pass traffic from multiple VLANs and set a custom native VLAN, an interface must be configured as a trunk port.

Submitted by kevin_r· Mar 5, 2026Network Access

Question

Refer to the exhibit. An engineer configures interface fa0/1 on SW1 and SW2 to pass traffic from two different VLANs. For security reasons, company policy requires the native VLAN to be set to a nondefault value. Which configuration meets this requirement?

Exhibits

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

Options

  • ASwitch(config-if)#switchport mode trunk
  • BSwitch(config-if)#switchport mode trunk
  • CSwitch(config-if)#switchport mode dynamic
  • DSwitch(config-if)#switchport mode access

How the community answered

(33 responses)
  • A
    79% (26)
  • B
    3% (1)
  • C
    6% (2)
  • D
    12% (4)

Why each option

To pass traffic from multiple VLANs and set a custom native VLAN, an interface must be configured as a trunk port.

ASwitch(config-if)#switchport mode trunkCorrect

The `switchport mode trunk` command is necessary to configure the interface as a trunk, allowing it to carry traffic from multiple VLANs. Once in trunk mode, the native VLAN can be explicitly set to a non-default value using `switchport trunk native vlan <vlan-id>`.

BSwitch(config-if)#switchport mode trunk

This option is identical to A, but it's a duplicate and not the designated correct answer.

CSwitch(config-if)#switchport mode dynamic

The `switchport mode dynamic` command relies on DTP negotiation, which may not always result in a trunk link or allow for consistent native VLAN configuration across different switches.

DSwitch(config-if)#switchport mode access

The `switchport mode access` command configures an interface to carry traffic for only a single VLAN, which fails the requirement to pass traffic from two different VLANs.

Concept tested: Trunk port configuration with native VLAN

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/configuration/guide/scg/swtrunks.html

Topics

#VLAN trunking#Native VLAN#Switchport configuration

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice