Which IOS interface configuration commands are required to configure a switch port to actively negotiate to be an 802.1Q trunk port that, when active, will send packets destined for VLAN 3 untagged? (Choose three.) A. switchport mode trunk B. switchport trunk dot1q 3 C. switchport native vlan 3 D. switchport trunk mode dot1q E. switchport mode dynamic auto F. switchport trunk native vlan 3 G. switchport trunk encapsulation dot1q AFG Â Suggested Answer: Explanation Entering the IOS commands switchport mode trunk and switchport trunk encapsulation dot1q in interface configuration mode will allow a switch port to actively negotiate to be an 802.1Q trunk port. Setting the trunk native VLAN to 3 with the command switchport trunk native vlan 3 will allow VLAN 3 traffic to be sent and received untagged over the trunk port. The command switchport mode trunk instructs DTP to actively negotiate to be a trunk if the other side is set to trunk, desirable, or auto. Use the following steps to configure a port as an 802.1Q trunk: 1. Enter the interface configuration. switch(config)# interface interface-id 2. Configure the port to using 802.1Q encapsulation. switch(config-if)# switchport trunk encapsulation dot1q 3. Configure the port as a trunk port. switch(config-if)# switchport mode trunk 4. (Optional) Set the native VLAN number. switchport trunk native vlan number If the native VLAN is changed as above, it must be changed on both ends of the link. Failure to do so will cause the link to not be successfully built because the native VLAN numbers must match. When left to the default (VLAN 1) the issue takes care of itself. If a native VLAN mismatch occurs, it will be reflected in the debug command output of one of the switches, as shown below. 2009 Aug 11 16:36:11 %SPNTREE-2-RX_IQPVIDERR:Rcvd pvid_inc BPDU on 1Q port 0/2 vlan3 2009 Aug 11 16:36:11 %SPNTREE-2-TX_BLKPORTPVID:Block 0/2 on xmitting vlan 1 for inc peer vlan 2009 Aug 11 16:36:11 %SPNTREE-2-RX_BLKPORTPVID:Block 0/2 on rcving vlan 3 for inc peer vlan 1 Note: Trunking modes can be configured as access, dynamic desirable, dynamic auto, trunk, and nonegotiate. If both sides are set to auto, no negotiations will occur. The switchport allowed vlan command is also valid for configuring dot1q trunks, but is not required. By default, all VLANs are allowed on the trunk. Objective: Layer 2 Technologies - Sub-Objective: Configure and verify trunking - References: Cisco > Home > Support > Product Support > Switches > Cisco Catalyst VST 2950 Series Switches > Configure > Configuration Examples and Technotes > Configuring EtherChannel and 802.1Q Trunking Between Catalyst L2 Fixed Configuration Switches and a Router (InterVLAN Routing) Cisco > Cisco IOS Interface and Hardware Component Command Reference > switchport trunk Cisco > Cisco IOS Interface and Hardware Component Command Reference > I through K > interface 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