Cisco Certified Network Associate (200-301 CCNA) – Question310


Refer to the exhibit. An engineer is configuring a new Cisco switch, NewSW, to replace SW2. The details have been provided:
* Switches SW1 and SW2 are third-party devices without support for trunk ports.
* The existing connections must be maintained between PC1, PC2, and PC3.
* Allow the switch to pass traffic from 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

Correct Answer: D