CCNA FAQ: Virtual LANs
Q1. In a LAN, which of the following terms best equates to the term VLAN?
a. Collision domain
b. Broadcast domain
c. Subnet domain
d. Single switch
e. Trunk
Q2. Imagine a switch with three configured VLANs. How many IP subnets are required, assuming that all hosts in all VLANs want to use TCP/IP?
a. 0
b. 1
c. 2
d. 3
e. You can’t tell from the information provided.
Q3. Which of the following fully encapsulates the original Ethernet frame in a trunking header rather than inserting another header inside the original Ethernet header?
a. VTP
b. ISL
c. 802.1Q
d. Both ISL and 802.1Q
e. None of the other answers are correct.
Q4. Which of the following adds the trunking header for all VLANs except one?
a. VTP
b. ISL
c. 802.1Q
d. Both ISL and 802.1Q
e. None of the other answers are correct.
Q 5. Which of the following VTP modes allow VLANs to be configured on a switch? (Choose two answers.)
a. Client
b. Server
c. Transparent
d. Dynamic
e. None of the other answers are correct.
Q6. Imagine that you are told that switch 1 is configured with the auto parameter fortrunking on its Fa0/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. Trunking turned on
b. Auto
c. Desirable
d. Access
e. None of the other answers are correct.
Q7. A switch has just arrived from Cisco. The switch has never been configured with any VLANs, VTP configuration, or any other configuration. An engineer gets into configuration mode and issues the vlan 22 command, followed by the name HannahsVLAN command. Which of the following are true?
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.
Q8. Which of the following commands list the operational state of interface Gigabit 0/1 in regard to VLAN trunking? (Choose two answers.)
a. show interfaces gi0/1
b. show interfaces gi0/1 switchport
c. show interfaces gi0/1 trunk
d. show trunks
Q9. An engineer has just installed four new 2960 switches and connected the switches to each other using crossover cables. All the interfaces are in an “up and up” state. The engineer configures each switch with the VTP domain name Fred and leaves all four switches in VTP server mode. The engineer adds VLAN 33 at 9:00 a.m., and then within 30 seconds, issues a show vlan brief command on the other three switches, but does not find VLAN 33 on the other three switches. Which answer gives the most likely reason for the problem in this case?
a. VTP requires that all switches have the same VTP password.
b. The engineer should have been more patient and waited for SW1 to send its next
periodic VTP update.
c. None of the links between the switches trunk because of the default 2960 trunking administrative mode of auto.
d. None of the other answers are correct.
Q10. Switches SW1 and SW2 connect through an operational trunk. The engineer wants to use VTP to communicate VLAN configuration changes. The engineer configures a new VLAN on SW1, VLAN 44, but SW2 does not learn about the new VLAN. Which of the following configuration settings on SW1 and SW2 would not be a potential root cause why SW2 does not learn about VLAN 44? (Choose two answers.)
a. VTP domain names of larry and LARRY, respectively
b. VTP passwords of bob and BOB, respectively
c. VTP pruning enabled and disabled, respectively
d. VTP modes of server and client, respectively
Q11. What are the characteristics of VLANs?
Q12. What are trunks and how do they work?
Q13. What is the purpose of VTP?
Q14. What are the characteristics of the three VTP modes?
Answer: Server mode is the default VTP mode in which VTP advertisements are sent to other switches in the VTP domain. VLAN configurations in server mode are saved to the VLAN database.
Client mode processes and forwards VTP advertisements from the VTP server. You cannot change any VLAN configurations or save the VLAN configuration in client mode.
Transparent mode also forwards VTP advertisements from the VTP server; however, switches in transparent mode do not process the VTP advertisements. In transparent mode, you can configure VLANs and save them to NVRAM; however, these local VLANs are not advertised to other switches in the VTP domain.
Q15. Why is router-on-a-stick sometimes necessary in switched environments?
SwitchA>show vtp status VTP Version : 2 Configuration Revision : 45 Maximum VLANs supported locally : 1005 Number of existing VLANs : 10 VTP Operating Mode : Server VTP Domain Name : Examprep VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xCC 0x69 0x27 0x01 0xC8 0xA8 0x59 0xD7 SwitchB>show vtp status VTP Version : 2 Configuration Revision : 45 Maximum VLANs supported locally : 1005 Number of existing VLANs : 10 VTP Operating Mode : Client VTP Domain Name : ExamPrep VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xCC 0x69 0x27 0x01 0xC8 0xA8 0x59 0xD7
A. This switch will save VLAN information into NVRAM.
B. This switch will synchronize its VLAN database with updates starting with number 46 or above.
C. This switch can add, change, and delete VLANs.
D. This switch passes VTP advertisements from the server.
Q17. Considering the following output:
Switch>show vlan VLAN Name Status Ports - - - -- - - - -- - - - -- - - -- - - -- - - -- - - - -- - - 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5,Fa0/6, Fa0/7, Fa0/8, Fa0/9 2 VLAN0002 active 100 ExamCram active 200 ExamPrep active
Which of the following is false?
A. Interfaces Fast Ethernet 0/1–0/9 are in the management domain.
B. Interfaces above Fast Ethernet 0/10 could be configured as a trunk.
C. Interface Fast Ethernet 0/10 is an access port.
D. VLAN 2 was not configured with a custom name.
Q18. Which of the following VTP modes save their VLAN information to NVRAM? (Choose 2.)
A. Transport
B. Client
C. Server
D. Transparent
Q19. Which is not a characteristic of VLANs?
A. Users can be moved easily because VLANs span multiple switches.
B. Users can be logically grouped according to their departments.
C. There is a separate instance of STP for each VLAN .
D. Broadcasts are not forwarded over trunks.
Q20. You want to connect your Cisco Catalyst switch to a Nortel switch. Which of the following is true?
A. 802.1q trunks should be used.
B. ISL trunks should be used.
C. VLAN configurations will be accepted by the Nortel switch if it is in VTP client mode.
D. Cisco is the only switch that can configure VLANs.
Q21. Which of the following would cause VLAN leakage?
A. Incorrect ISL configuration.
B. Native VLAN mismatch.
C. VTP passwords don’t match.
D. Saggy VLAN diapers.
Q22. Given the following output from two switches, why are the VLAN databases not synchronized?
SwitchA>show vtp status VTP Version : 2 Configuration Revision : 45 Maximum VLANs supported locally : 1005 Number of existing VLANs : 10 VTP Operating Mode : Server VTP Domain Name : Examprep VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xCC 0x69 0x27 0x01 0xC8 0xA8 0x59 0xD7 SwitchB>show vtp status VTP Version : 2 Configuration Revision : 45 Maximum VLANs supported locally : 1005 Number of existing VLANs : 10 VTP Operating Mode : Client VTP Domain Name : ExamPrep VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xCC 0x69 0x27 0x01 0xC8 0xA8 0x59 0xD7
A. VTP versions are incorrect.
B. Passwords do not match.
C. Both devices should be set to server mode.
D. VTP domains do not match.
Q23. What can be determined from the following output?
Switch>show interface trunk Port Mode Encapsulation Status Native vlan Fa0/24 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/24 1-4094 Port Vlans allowed and active in management domain Fa0/24 1-4,100,200 Port Vlans in spanning tree forwarding state and not pruned Fa0/24 1-4,100,200
A. The trunk is proprietary to Cisco.
B. Ethernet frames from VLAN 1 will not be tagged over the trunk.
C. This trunk will create giant frames that will be dropped by non-Cisco devices.
D. Ethernet frames are being encapsulated with a 30-byte VLAN ID.
Q24. How do you associate VLANs to an interface in a router-on-a-stick configuration?
A. By creating a VLAN interface in the switch.
B. By creating the subinterface number to match the VLAN.
C. By having a separate physical interface for each VLAN.
D. By using the encapsulation command.
Q25. Which of the following is not a characteristic of router-on-a-stick?
A. The interface must be 10Mbps or higher.
B. The link must be a trunk.
C. Subinterfaces are used to route in between the VLANs.
D. The IP address assigned is used as the VLAN’s default gateway.
Answers B, C, and D are all characteristics of router-on-a-stick.
Question 26. Which of the following statements is true with regard to VLANs?
A. VLANs greatly reduce network security.
B. VLANs increase the number of collision domains while decreasing their size.
C. VLANs decrease the number of broadcast domains while decreasing their size.
D. Network adds, moves, and changes are achieved with ease by just configuring a port into the appropriate VLAN.
Answer: D. Here’s a list of ways VLANs simplify network management:
- Network adds, moves, and changes are achieved with ease by just configuring a port into the appropriate VLAN.
- A group of users that need an unusually high level of security can be put into its own VLAN so that users outside of the VLAN can’t communicate with them.
- As a logical grouping of users by function, VLANs can be considered independent from their physical or geographic locations.
- VLANs greatly enhance network security if implemented correctly.
- VLANs increase the number of broadcast domains while decreasing their size.
Question 27. Write the command that must be present for this layer 3 switch to provide inter-VLAN routing between the two VLANs created with these commands:
Question. In the diagram, how must the port on each end of the line be configured to carry traffic between the two hosts in the Sales VLAN?
A. Access port
B. 10 GB
C. Trunk
D. Spanning
Question 28. What is the only type of second VLAN of which an access port can be a member?
A. Secondary
B. Voice
C. Primary
D. Trunk
Question 29. In the following configuration, what command is missing in the creation of the VLAN interface?
A. no shutdown under int vlan 1
B. encapsulation dot1q 1 under int vlan 1
C. switchport access vlan 1
D. passive-interface
Question 30. Which of the following statements is true with regard to ISL and 802.1q?
A. 802.1q encapsulates the frame with control information; ISL inserts an ISL field along with tag control information.
B. 802.1q is Cisco proprietary.
C. ISL encapsulates the frame with control information; 802.1q inserts an 802.1q field along with tag control information.
D. ISL is a standard.
Question 31. What concept is depicted in the diagram?
A. Multiprotocol routing
B. Passive interface
C. Gateway redundancy
D. Router on a stick
Question 32. Write the command that places an interface into VLAN 2. Write only the command and not the prompt.
Question 33. Write the command that generated the following output:
Question 34. Based on the configuration shown below, what statement is true?
S1(config)#ip routing
S1(config)#int vlan 10
S1(config-if)#ip address 192.168.10.1 255.255.255.0
S1(config-if)#int vlan 20
S1(config-if)#ip address 192.168.20.1 255.255.255.0
A. This is a multilayer switch.
B. The two VLANs are in the same subnet.
C. Encapsulation must be configured.
D. VLAN 10 is the management VLAN.
Question 35. What is true of the output shown below?
A. Interface F0/15 is a trunk port.
B. Interface F0/17 is an access port.
C. Interface F0/21 is a trunk port.
D. VLAN 1 was populated manually.
Question 36. 802.1q untagged frames are members of the _________ VLAN.
A. Auxiliary
B. Voice
C. Native
D. Private
Question 37. Write the command that generated the following output. Write only the command and not the prompt:
Name: Fa0/15
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: isl
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
[output cut]
Question 38. Which statement is true regarding virtual local area networks (VLANs)?
A. VLANs are location dependent.
B. VLANs are limited to a single switch.
C. VLANs may be subnets of major networks.
D. VLANs define collision domains.
Question 39. In the diagram, what should be the default gateway address of Host B?
A. 192.168.10.1
B. 192.168.1.65
C. 192.168.1.129
D. 192.168.1.2
Question 40. What is the purpose of frame tagging in virtual LAN (VLAN) configurations?
A. Inter-VLAN routing
B. Encryption of network packets
C. Frame identification over trunk links
D. Frame identification over access links
Question 41. Write the command to create VLAN 2 on a layer 2 switch. Write only the command and not the prompt.
Question 42. Which statement is true regarding 802.1q frame tagging?
A. 802.1q adds a 26-byte trailer and 4-byte header.
B. 802.1q uses a native VLAN.
C. The original Ethernet frame is not modified.
D. 802.1q only works with Cisco switches.
Q43. Write the command that prevents an interface from generating DTP frames. Write only the command and not the prompt.
Q44. In the configuration and diagram shown, what command is missing to enable interVLAN routing between VLAN 2 and VLAN 3?
A. encapsulation dot1q 3 under int f0/0.2
B. encapsulation dot1q 2 under int f0/0.2
C. no shutdown under int f0/0.2
D. no shutdown under int f0/0.3
[mks_button size=”medium” title=”CCNA Frequently Asked Questions” style=”squared” url=”https://www.configrouter.com/cisco-certified-network-associate-faq/” target=”_blank” bg_color=”#000000″ txt_color=”#FFFFFF” icon=”” icon_type=”” nofollow=”0″] [mks_button size=”medium” title=”CCNA Exam Questions with Explanation” style=”squared” url=”https://www.configrouter.com/ccna-online-training/” target=”_blank” bg_color=”#000000″ txt_color=”#FFFFFF” icon=”” icon_type=”” nofollow=”0″]