200-301 · Question #845
Which effect does the switchport trunk native vlan 10 command have?
The correct answer is A. It sets VLAN 10 as the native VLAN on the trunk.. The switchport trunk native vlan 10 command specifically configures VLAN 10 as the native VLAN on an 802.1Q trunk link, meaning frames for this VLAN will be transmitted untagged.
Question
Which effect does the switchport trunk native vlan 10 command have?
Options
- AIt sets VLAN 10 as the native VLAN on the trunk.
- BIt configures the interface as a trunk port.
- CIt allows traffic from native VLAN 10 on the trunk.
- DIt prevents traffic on VLAN 1 from passing on the trunk.
How the community answered
(25 responses)- A92% (23)
- B4% (1)
- D4% (1)
Why each option
The `switchport trunk native vlan 10` command specifically configures VLAN 10 as the native VLAN on an 802.1Q trunk link, meaning frames for this VLAN will be transmitted untagged.
The `switchport trunk native vlan <vlan_id>` command is used to designate a specific VLAN as the native VLAN on an 802.1Q trunk. This means that frames belonging to VLAN 10 will traverse the trunk link without an 802.1Q tag.
The command `switchport mode trunk` is used to configure an interface as a trunk port, not `switchport trunk native vlan 10`.
While traffic from the native VLAN will pass, the command's primary function is to *set* VLAN 10 as the native VLAN, not merely to allow its traffic.
The command changes the native VLAN from its default (VLAN 1) to VLAN 10; it does not inherently prevent traffic on VLAN 1 from passing on the trunk, though VLAN 1 traffic would then be tagged if permitted on the trunk.
Concept tested: Cisco switchport trunk native VLAN configuration
Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/layer2/configuration_guide/b_layer2_3se_3850_cg/b_layer2_3se_3850_cg_chapter_0100.html
Topics
Community Discussion
No community discussion yet for this question.