QuestionQ998

Network Access

Question Image

Refer to the exhibit. An engineer is configuring a new Cisco switch, NewSW, to replace SW2. The following details are provided:

  • Switches SW1 and SW2 are third-party devices without support for trunk ports.
  • The existing connections between PC1, PC2, and PC3 must be maintained.
  • The switch must be allowed to pass traffic for future VLAN 10.

Which configuration must be applied?

  • A NewSW(config)#interface f0/0 NewSW(config-if)#switchport mode trunk NewSW(config-if)#switchport trunk native vlan 10 NewSW(config-if)#switchport trunk native vlan 10
  • B NewSW(config)#interface f0/0 NewSW(config-if)#switchport mode access NewSW(config-if)#switchport trunk allowed vlan 2, 10 NewSW(config-if)#switchport trunk native vlan 2
  • C NewSW(config)#interface f0/0 NewSW(config-if)#switchport mode access NewSW(config-if)#switchport trunk allowed vlan 2, 10 NewSW(config-if)#switchport trunk native vlan 10
  • D NewSW(config)#interface f0/0 NewSW(config-if)#switchport mode trunk NewSW(config-if)#switchport trunk allowed vlan 2, 10 NewSW(config-if)#switchport trunk native vlan 2
Explanation

Since the adjacent switches do not support trunking, NewSW must interoperate using an access-mode link for VLAN 2. However, to also accommodate future VLAN 10 traffic, NewSW can be configured as a trunk with VLAN 2 as the native VLAN and both VLANs 2 and 10 allowed. Untagged frames from the non-trunking switches map to the native VLAN 2, while the trunk infrastructure permits future VLAN 10 expansion.

Learn more

Community Discussion

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