QuestionQ390

Network Access

Question Image

Refer to the exhibit. An engineer configures interface fa0/1 on SW1 and SW2 to carry traffic for two different VLANs.

For security reasons, company policy requires the native VLAN to be configured with a nondefault value.

Which configuration satisfies this requirement?

  • A Switch(config-if)#switchport mode trunkSwitch(config-if)#switchport trunk encapsulation dot1qSwitch(config-if)#switchport trunk allowed vlan 100,105Switch(config-if)#switchport trunk native vlan 3
  • B Switch(config-if)#switchport mode trunkSwitch(config-if)#switchport trunk encapsulation islSwitch(config-if)#switchport trunk allowed vlan 100,105Switch(config-if)#switchport trunk native vlan 1
  • C Switch(config-if)#switchport mode dynamicSwitch(config-if)#switchport access vlan 100,105Switch(config-if)#switchport trunk native vlan 1
  • D Switch(config-if)#switchport mode accessSwitch(config-if)#switchport trunk encapsulation dot1qSwitch(config-if)#switchport access vlan 100,105Switch(config-if)#switchport trunk native vlan 3
Explanation

A trunk link is required to transport traffic for both VLAN 100 and VLAN 105 across the inter-switch connection. To satisfy the security requirement, the native VLAN must be changed from the default VLAN 1 to another VLAN, such as VLAN 3. The only option that combines trunk operation, permits the required VLANs, and sets a nondefault native VLAN is option A.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!