200-301 Question 167
Single answerA network administrator is configuring a switch to support multiple VLANs. They need to ensure that traffic from multiple VLANs can travel across a single link between two switches. Which configuration should the administrator apply to the port connecting the two switches?
- A
Set the port mode to access and assign it to a single VLAN.
- B
Set the port mode to trunk and allow all VLANs.
- C
Configure the port as a Layer 3 port and assign an IP address.
- D
Enable port mirroring on the port to monitor VLAN traffic.
Show answer and explanation
Correct answer: B
Explanation
To carry traffic for multiple VLANs between switches, the port connecting the switches must be configured as a trunk port. Trunk ports use tagging protocols (e.g., 802.1Q) to differentiate traffic belonging to different VLANs. The correct solution is to set the port mode to trunk and allow all VLANs.
- A. Incorrect.
Setting the port mode to access and assigning it to a single VLAN restricts the port to carry traffic for only one VLAN, which does not meet the requirement of carrying multiple VLANs across a link.
- B. Correct.
Setting the port mode to trunk and allowing all VLANs enables the port to carry traffic for multiple VLANs across the link, which meets the requirement.
- C. Incorrect.
Configuring the port as a Layer 3 port and assigning an IP address is not relevant when configuring a switch port to carry traffic for multiple VLANs. Layer 3 ports are used for routing, not VLAN trunking.
- D. Incorrect.
Enabling port mirroring on the port is used for monitoring network traffic and does not configure the port to carry traffic for multiple VLANs.