A company has a following network infrastructure. Refer to the exhibit: To enable inter-VLAN routing on the distribution layer switch, which of the following commands should be used? A. dlswitch# switchport mode access B. dlswitch (config) # switchport mode trunk C. dlswitch(config-if) # switchport mode trunk D. dlswitch(config-if) # switchport mode access C Suggested Answer: Explanation You should use switchport mode trunk command at the interface configuration prompt to enable inter-VLAN routing. This command sets the port as a trunk port. Trunks carry traffic from all VLANs to and from the switch by default, and can be configured to carry specific VLAN traffic as well. A port on a Cisco switch is either an access port or a trunk port. An access port only carries traffic for the VLAN of which it is a member and does not tag or mark the frame with a VLAN ID. A trunk port carries traffic from multiple VLANs and tags or marks each frame with a VLAN ID so it can be determined where it goes when it gets to the other switch. You can enable inter-VLAN routing by enabling trunking using the following command: switchport mode trunk You would not use the dlswitch# switchport mode access command to enable inter-VLAN routing. This command sets the port as an access port, which is capable of carrying only the traffic a single VLAN. Moreover, even if that were the intent, the command must be executed in interface mode and not global configuration mode. You would not use the dlswitch (config) # switchport mode trunk command to enable inter-VLAN routing. This is the correct command, but is shown being executed in global configuration mode instead of interface mode. You would not use the dlswitch(config-if)# switchport mode access command to enable inter-VLAN routing. This is both the wrong command and is being executed at an incorrect prompt. Objective: Layer 2 Technologies - Sub-Objective: Configure and verify trunking - References: Cisco Press > Articles > Network Technology > General Networking > VLANs and Trunking Cisco > Cisco IOS Interface and Hardware Component Command Reference > switchport mode trunk This question is in 300-115 Implementing Cisco IP Switched Networks (SWITCH) Exam For getting Cisco Certified Network Professional (CCNP) Routing and Switching Certificate Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Cisco. Trademarks, certification & product names are used for reference only and belong to Cisco. The website does not contain actual questions and answers from Cisco's Certification Exam.
Please login or Register to submit your answer