CCNA DC FAQ: VLAN Trunking and Configuration

CCNA DC FAQ: VLAN Trunking and Configuration


Figure: Network with One Switch and Three VLANs

Q1. Imagine that on Switch 1 you are told to configure port Ethernet 1/1 to participate in VLAN 10. Which commands would enable interface Ethernet 1/1 to participate in VLAN 10? (Choose two answers.)
a. switchport mode trunk
b. switchport access vlan 10
c. no shutdown
d. access vlan 10
e. vlan 10 access

Answer: B and C. switchport access vlan 10 enables Ethernet 1/1 to participate in VLAN 10 and the interface must be in no shutdown mode for the interface to come up.

Q2. A Nexus switch has just arrived from Cisco. The switch has never been configured with any VLANs, but VTP has been disabled. An engineer gets into configuration mode and issues the vlan 22 command, followed by the name Evans-VLAN command. Which of the following are true? (Choose two answers.)
a. VLAN 22 is listed in the output of the show vlan brief command.
b. VLAN 22 is listed in the output of the show running-config command.
c. VLAN 22 is not created by this process.
d. VLAN 22 does not exist in that switch until at least one interface is assigned to that VLAN.

Answer: A and B. Issuing the vlan 22 command, followed by the name Evans-VLAN command will configure VLAN 22 which will be shown in the output of the show vlan brief command as well as the show running-config command.

Q3. Which of the following commands identify switch interfaces as being trunking interfaces—interfaces that currently operate as VLAN trunks? (Choose two answers.)
a. show interface
b. show interface switchport
c. show interface trunk
d. show trunks

Answer: B and C. show interface switchport and show interface trunk are valid commands for identifying switch interfaces as being trunking interfaces. show interface does not show whether the interface is trunking, and show trunks is not a valid command.

Q4. Imagine that you are told that switch 1 is configured with the switchport mode trunk parameter for trunking on its Eth1/5 interface, which is connected to switch 2. You have to configure switch 2. Which of the following settings for trunking could allow trunking to work? (Choose two answers.)
a. switchport mode trunk
b. shutdown
c. no shutdown
d. access
e. None of the answers are correct.

Answer: A and C. switchport mode trunk and no shutdown are the valid responses here because switchport mode trunk or dot1q is the only supported protocol on Nexus for trunking, and the interface must be no shutdown for the interface to come up.

Q5. A Nexus switch has just arrived from Cisco. The switch has never been configured. An engineer would like to configure VLAN Trunking Protocol (VTP) in client mode. Which commands would he enter in configuration mode to do this? (Choose two answers.)
a. feature vtp
b. vlan 33 mode client
c. vtp client
d. vtp mode client

Answer: A and D. feature vtp and vtp mode client are the correct answers because the feature vtp command will enable VTP, and VTP mode client will set the mode of the VTP service to client.

About the author

James Palmer

Leave a Comment