CISCO CCNA Exam – Q44

Refer to the exhibit.
CISCO CCNA Exam – Q44

How should the FastEthernet0/1 ports on the switches that are shown in the exhibit be configured to allow connectivity between all devices?

A.
The ports only need to be connected by a crossover cable.
B.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode trunk
C.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode access
SwitchX(config-if)# switchport access vlan 1
D.
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport mode trunk
SwitchX(config-if)# switchport trunk vlan 1
SwitchX(config-if)# switchport trunk vlan 10
SwitchX(config-if)# switchport trunk vlan 20

Correct Answer: B

Explanation:
IN order for multiple VLANs to cross switches, the connection between the switches must be a trunk. The “switchport mode trunk” command is all that is needed, the individual VLANs should not be listed over that trunk interface.