200-101 · Question #113
Refer to the exhibit. How should the FastEthernet0/1 ports on the 2950 model switches that are shown in the exhibit be configured to allow connectivity between all devices?
The correct answer is B. SwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode trunk SwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode access SwitchX(config-if)# switchport access vlan 1. When two switches need to carry traffic for multiple VLANs between them, the interconnecting ports must be configured as trunk ports. Answer B correctly sets the inter-switch link to trunk mode, which allows tagged frames from all VLANs to traverse the link. The second half of an
Question
Options
- AThe ports only need to be connected by a crossover cable.
- BSwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode trunk SwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode access SwitchX(config-if)# switchport access vlan 1
- CSwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode trunk SwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode access SwitchX(config-if)# switchport access vlan 10
- DSwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport mode trunk SwitchX(config)# interface fastethernet 0/1 SwitchX(config-if)# switchport trunk vlan 1 SwitchX(config-if)# switchport trunk vlan 10 SwitchX(config-if)# switchport trunk vlan 20
How the community answered
(28 responses)- A7% (2)
- B75% (21)
- C14% (4)
- D4% (1)
Explanation
When two switches need to carry traffic for multiple VLANs between them, the interconnecting ports must be configured as trunk ports. Answer B correctly sets the inter-switch link to trunk mode, which allows tagged frames from all VLANs to traverse the link. The second half of answer B shows a downstream access port in VLAN 1 for end-device connectivity - this is the correct combination for a switched environment with multiple VLANs. Answer D is incorrect because 'switchport trunk vlan' is not a valid command syntax for specifying allowed VLANs (the correct command is 'switchport trunk allowed vlan'). Simply using a crossover cable (A) has no effect on VLAN configuration.
Topics
Community Discussion
No community discussion yet for this question.