Question 1
A network administrator is configuring a Huawei switch to segment traffic between the Sales (VLAN 10) and Marketing (VLAN 20) departments. The switch connects to a router on interface GigabitEthernet0/0/24 for inter-VLAN routing. Which configuration is required on this specific switch interface to allow communication between the two departments?
Answer and explanation
Correct answer: C
To facilitate inter-VLAN routing, the link between the switch and the router (a 'router-on-a-stick' configuration) must carry traffic for multiple VLANs. This is achieved by configuring the switch port as a trunk port. A trunk port uses IEEE 802.1Q tagging to identify frames belonging to different VLANs. Permitting VLANs 10 and 20 ensures that traffic from both the Sales and Marketing departments can reach the router for routing.