Trunking, DTP, and Inter-VLAN Routing Flashcards

1
Q
  1. What is the primary purpose of VLAN trunking?
    o A) To allow multiple VLANs to communicate over a single physical link
    o B) To segment a network into multiple broadcast domains
    o C) To connect two switches without using VLANs
    o D) To assign IP addresses to different VLANs
A

A) To allow multiple VLANs to communicate over a single physical link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Which IEEE standard is commonly used for VLAN tagging in trunking?
    o A) 802.1D
    o B) 802.1Q
    o C) 802.3u
    o D) 802.3ad
A

o Answer: B) 802.1Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What is the default VLAN for untagged traffic on a trunk link?
    o A) VLAN 1
    o B) VLAN 100
    o C) VLAN 10
    o D) VLAN 0
A

o Answer: A) VLAN 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Which command is used to display trunking information on a Cisco switch?
    o A) show vlan
    o B) show interfaces trunk
    o C) show ip interface brief
    o D) show running-config
A

o Answer: B) show interfaces trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. What does the ‘native VLAN’ refer to in trunking?
    o A) The VLAN that carries tagged traffic
    o B) The VLAN that carries untagged traffic
    o C) The VLAN used for management purposes
    o D) The VLAN used for voice traffic
A

o Answer: B) The VLAN that carries untagged traffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. What is the function of DTP in a Cisco network?
    o A) To negotiate trunking between switches
    o B) To assign IP addresses to VLANs
    o C) To route traffic between VLANs
    o D) To monitor network performance
A

o Answer: A) To negotiate trunking between switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Which DTP mode actively attempts to convert the link into a trunk?
    o A) Dynamic Auto
    o B) Dynamic Desirable
    o C) Trunk
    o D) Access
A

o Answer: B) Dynamic Desirable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Which DTP mode is the default on most Cisco switches?
    o A) Dynamic Auto
    o B) Dynamic Desirable
    o C) Trunk
    o D) Access
A

o Answer: A) Dynamic Auto

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. How can you disable DTP on a switch port?
    o A) Configure the port as a trunk
    o B) Set the port to access mode
    o C) Use the ‘switchport nonegotiate’ command
    o D) Disable the port
A

o Answer: C) Use the ‘switchport nonegotiate’ command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which IEEE standard does DTP support for trunking?
    o A) 802.1Q
    o B) 802.3u
    o C) 802.3ad
    o D) 802.1D
A

o Answer: A) 802.1Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. What is required for Inter-VLAN routing to function?
    o A) A router with subinterfaces configured for each VLAN
    o B) A Layer 2 switch with routing capabilities
    o C) A router connected to each VLAN
    o D) A switch configured with routing protocols
A

o Answer: A) A router with subinterfaces configured for each VLAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. Which command is used to create a subinterface for VLAN 10 on a router?
    o A) interface g0/0.10
    o B) interface g0/0.1
    o C) interface g0/0.10 encapsulation dot1Q 10
    o D) interface g0/0.10 ip address 192.168.10.1 255.255.255.0
A

o Answer: C) interface g0/0.10 encapsulation dot1Q 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. What is the purpose of the ‘encapsulation dot1Q’ command in a subinterface?
    o A) To assign an IP address to the subinterface
    o B) To specify the VLAN ID for the subinterface
    o C) To enable routing on the subinterface
    o D) To configure the physical interface
A

o Answer: B) To specify the VLAN ID for the subinterface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Which routing protocol is commonly used for Inter-VLAN routing?
    o A) RIP
    o B) OSPF
    o C) EIGRP
    o D) All of the above
A

o Answer: D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. What is the purpose of a default gateway in a VLAN?
    o A) To route traffic between VLANs
    o B) To assign IP addresses to devices in the VLAN
    o C) To provide a path for traffic to leave the VLAN
    o D) To segment the network into multiple broadcast domains
A

o Answer: C) To provide a path for traffic to leave the VLAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. If a switch port is configured as ‘switchport mode trunk’, what is its behavior?
    o A) It will not negotiate trunking and will always be in trunk mode
    o B) It will attempt to negotiate trunking with the connected device
    o C) It will act as an access port
    o D) It will disable all VLANs
A

o Answer: A) It will not negotiate trunking and will always be in trunk mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  1. Which command is used to verify the VLANs allowed on a trunk link?
    o A) show interfaces trunk
    o B) show vlan brief
    o C) show running-config
    o D) show interfaces switchport
A

o Answer: A) show interfaces trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
  1. What is the effect of the ‘switchport nonegotiate’ command?
    o A) It disables DTP on the port
    o B) It enables DTP on the port
    o C) It configures the port as an access port
    o D) It configures the port as a trunk port
A

o Answer: A) It disables DTP on the port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
  1. Which DTP mode will a port use if it is configured as ‘switchport mode access’?
    o A) Dynamic Auto
    o B) Dynamic Desirable*
    o C) To segment a network into multiple broadcast domains
    o D) To assign IP addresses to devices in a VLAN
A

o Answer: B) To enable communication between different VLANs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which device is typically used to perform Inter-VLAN Routing?
* A) Layer 2 switch
* B) Layer 3 switch
* C) Router
* D) Hub

A
  • Answer: B) Layer 3 switch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
    • In a router-on-a-stick configuration, what is the purpose of subinterfaces?
      * A) To assign IP addresses to physical interfaces
      * B) To create multiple logical interfaces on a single physical interface
      * C) To enable routing protocols
      * D) To connect to different physical networks
A
  • Answer: B) To create multiple logical interfaces on a single physical interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
    • Which command is used to assign an IP address to a subinterface on a router?
      * A) ip address [IP address] [subnet mask]
      * B) interface [interface ID]
      * C) ip route [destination network] [subnet mask] [next hop]
      * D) show ip interface brief
A
  • Answer: A) ip address [IP address] [subnet mask]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q
    • What is the purpose of the ‘encapsulation dot1Q’ command in a subinterface configuration?
      * A) To assign an IP address to the subinterface
      * B) To specify the VLAN ID for the subinterface
      * C) To enable routing on the subinterface
      * D) To configure the physical interface
A
  • Answer: B) To specify the VLAN ID for the subinterface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q
    • Which command is used to verify the configuration of subinterfaces on a router?
      * A) show ip interface brief
      * B) show interfaces
      * C) show running-config
      * D) show vlan brief
A
  • Answer: A) show ip interface brief
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
25. * What is the default encapsulation type for subinterfaces on a Cisco router? * A) ISL * B) 802.1Q * C) PPP * D) HDLC
* Answer: B) 802.1Q
26
26. * Which command is used to configure a router interface as a trunk port? * A) switchport mode trunk * B) interface [interface ID] * C) encapsulation dot1Q [VLAN ID] * D) router ospf [process ID]
* Answer: A) switchport mode trunk
27
27. * In a router-on-a-stick configuration, what is the role of the router? * A) To switch frames between VLANs * B) To route traffic between VLANs * C) To assign IP addresses to devices in each VLAN * D) To segment the network into multiple broadcast domains
* Answer: B) To route traffic between VLANs
28
28. * Which of the following is a valid reason to use Inter-VLAN Routing? * A) To allow devices within the same VLAN to communicate * B) To enable communication between different VLANs * C) To assign IP addresses to devices in a VLAN * D) To segment a network into multiple broadcast domains
* Answer: B) To enable communication between different VLANs
29
29. * What is the purpose of the 'no shutdown' command in a subinterface configuration? * A) To assign an IP address to the subinterface * B) To enable the subinterface * C) To specify the VLAN ID for the subinterface * D) To configure the physical interface
* Answer: B) To enable the subinterface
30
30. * Which command is used to verify the status of a trunk link on a Cisco switch? * A) show interfaces trunk * B) show ip interface brief * C) show vlan brief * D) show running-config
* Answer: A) show interfaces trunk
31
31. * What is the purpose of the 'switchport trunk allowed vlan' command? * A) To assign an IP address to the trunk port * B) To specify which VLANs are allowed on the trunk link * C) To configure the trunk port as an access port * D) To enable routing on the trunk port
* Answer: B) To specify which VLANs are allowed on the trunk link
32
32. * Which DTP mode actively attempts to convert the link into a trunk? * A) Dynamic Auto * B) Dynamic Desirable * C) Trunk * D) Access
* Answer: B) Dynamic Desirable
33
33. * Which DTP mode is the default on most Cisco switches? * A) Dynamic Auto * B) Dynamic Desirable * C) Trunk * D) Access
* Answer: A) Dynamic Auto
34
34. * How can you disable DTP on a switch port? * A) Configure the port as a trunk * B) Set the port to access mode * C) Use the 'switchport nonegotiate' command * D) Disable the port
* Answer: C) Use the 'switchport nonegotiate' command
35
35. * Which IEEE standard does DTP support for trunking? * A) 802.1Q * B) 802.3u * C) 802.3ad * D) 802.1D
* Answer: A) 802.1Q
36
36. * What is the default VLAN for untagged traffic on a trunk link? * A) VLAN 1 * B) VLAN 100 * C) VLAN 10 * D) VLAN 0
* Answer: A) VLAN 1
37
37. * Which command is used to display trunking information on a Cisco switch? * A) show vlan * B) show interfaces trunk * C) show ip interface brief * D) show running-config
* Answer: B) show interfaces trunk
38
38. * What does the 'native VLAN' refer to in trunking? * A) The VLAN that carries tagged traffic * B) The VLAN that carries untagged traffic * C) The VLAN used for management purposes * D) The VLAN used for voice traffic
* Answer: B) The VLAN that carries untagged traffic
39
39. Which of the following is true about VLAN tags in 802.1Q trunking? * A) They are removed before crossing trunk links * B) They are only added on native VLANs * C) They are inserted into the Ethernet frame header * D) They are added after the IP header
* Answer: C) They are inserted into the Ethernet frame header
40
40. Which two DTP modes will result in a trunk link? (Choose two) * A) Access — Trunk * B) Trunk — Trunk * C) Dynamic Desirable — Dynamic Auto * D) Dynamic Auto — Dynamic Auto
* Answer: B) Trunk — Trunk, C) Dynamic Desirable — Dynamic Auto
41
41. In Inter-VLAN routing, each VLAN must have a unique: * A) MAC address * B) Trunk port * C) Subnet * D) Physical cable
* Answer: C) Subnet
42
42. Which Cisco IOS command configures a router's subinterface to handle VLAN 20? * A) encapsulation dot1Q 20 * B) switchport mode trunk * C) interface vlan 20 * D) vlan database 20
* Answer: A) encapsulation dot1Q 20
43
43. What happens if the native VLANs on both sides of a trunk link are mismatched? * A) No traffic will pass * B) The trunk will not form * C) Broadcast storms may occur * D) A security vulnerability is introduced
* Answer: D) A security vulnerability is introduced
44
44. Which command prevents DTP negotiation and forces trunking? * A) switchport trunk allowed vlan * B) switchport trunk native vlan * C) switchport mode trunk * D) switchport nonegotiate
* Answer: D) switchport nonegotiate
45
45. What does “router-on-a-stick” refer to? * A) Connecting multiple routers in parallel * B) Connecting a router to each VLAN individually * C) Using a single router interface with subinterfaces for each VLAN * D) Using a router with built-in switch
* Answer: C) Using a single router interface with subinterfaces for each VLAN
46
46. Which of the following causes Inter-VLAN Routing to fail? * A) IP addresses not configured on VLAN interfaces * B) Using a trunk port for router connection * C) Using dot1Q encapsulation on subinterfaces * D) Using different IP subnets for each VLAN
* Answer: A) IP addresses not configured on VLAN interfaces
47
47. Which type of switch can perform Inter-VLAN Routing natively? * A) Layer 2 switch * B) Unmanaged switch * C) Layer 3 switch * D) PoE switch
* Answer: C) Layer 3 switch
48
48. Which command displays DTP mode on an interface? * A) show dtp status * B) show interfaces trunk * C) show running-config * D) show vlan brief
* Answer: A) show dtp status
49
49. What is the result of configuring switchport mode access on an interface? * A) The port will negotiate trunking * B) The port will be in a fixed access VLAN * C) The port will allow multiple VLANs * D) DTP will be disabled
* Answer: B) The port will be in a fixed access VLAN
50
50. Which trunking encapsulation method is Cisco proprietary? * A) 802.1Q * B) ISL * C) VTP * D) STP
* Answer: B) ISL
51
51. Which command sets an interface as a trunk port on a switch? * A) interface trunk enable * B) switchport trunk enable * C) switchport mode trunk * D) interface vlan trunk
* Answer: C) switchport mode trunk
52
52. What will happen if one side of a trunk is configured as ‘trunk’ and the other as ‘access’? * A) The trunk will form * B) The access port will become trunk * C) The trunk will not form and traffic may be dropped * D) They will negotiate and both become trunk
* Answer: C) The trunk will not form and traffic may be dropped
53
53. What is the default DTP mode on a Cisco switch port? * A) Trunk * B) Access * C) Dynamic Auto * D) Dynamic Desirable
* Answer: C) Dynamic Auto
54
55. To create a trunk link between two Cisco switches, both interfaces must be set to: * A) Access mode * B) The same native VLAN * C) The same management VLAN * D) Router mode
* Answer: B) The same native VLAN
55
56. How many VLANs can be carried over a single 802.1Q trunk link? * A) 10 * B) 100 * C) 255 * D) 4094
* Answer: D) 4094
56
57. Which of the following is true about the native VLAN in 802.1Q? * A) It's always VLAN 99 * B) It is always tagged * C) It is sent untagged * D) It must be excluded from all trunk links
* Answer: C) It is sent untagged
57
58. Which command assigns VLAN 20 as the native VLAN on an interface? * A) vlan native 20 * B) switchport vlan 20 * C) switchport trunk native vlan 20 * D) vlan 20 native
* Answer: C) switchport trunk native vlan 20
58
59. Which mode will never initiate DTP negotiations but can form a trunk if the other side is set to ‘trunk’? * A) Access * B) Dynamic Desirable * C) Dynamic Auto * D) Nonegotiate
* Answer: C) Dynamic Auto
59
60. Which command on a router subinterface enables tagging for VLAN 30? * A) vlan 30 * B) ip address 192.168.30.1 255.255.255.0 * C) encapsulation dot1Q 30 * D) switchport trunk vlan 30
* Answer: C) encapsulation dot1Q 30
60
61. If a host in VLAN 10 cannot ping a host in VLAN 20, what is a likely cause? * A) Incorrect IP address on host * B) Trunk link between switches is down * C) Router has no subinterface for VLAN 20 * D) All of the above
* Answer: D) All of the above
61
62. Which mode combination will NOT form a trunk link using DTP? * A) Auto - Auto * B) Desirable - Desirable * C) Trunk - Auto * D) Trunk - Trunk
* Answer: A) Auto - Auto
62
63. Which two devices are required in a router-on-a-stick setup? (Choose two) * A) Layer 3 switch * B) Router * C) Switch * D) Hub
* Answer: B) Router, C) Switch
63
64. Why is DTP considered a potential security risk? * A) It encrypts traffic * B) It allows VLAN hopping if not disabled * C) It disables VLAN access * D) It limits trunk port creation
* Answer: B) It allows VLAN hopping if not disabled
64
65. Which best describes the purpose of VLAN trunking? * A) To connect hosts in the same VLAN * B) To carry multiple VLANs over one link * C) To assign IP addresses to VLANs * D) To route VLAN traffic
* Answer: B) To carry multiple VLANs over one link
65
66. How can you manually assign allowed VLANs on a trunk port? * A) vlan allow trunk * B) switchport allowed vlan * C) switchport trunk allowed vlan * D) switchport mode vlan trunk
* Answer: C) switchport trunk allowed vlan
66
67. What is required on each VLAN interface to enable routing? * A) A MAC address * B) An IP address * C) A trunk link * D) A DTP configuration
* Answer: B) An IP address
67
68. What happens if you forget the encapsulation command on a router subinterface? * A) It will default to ISL * B) The router will not recognize the VLAN * C) The interface will route normally * D) Nothing; encapsulation is not required
* Answer: B) The router will not recognize the VLAN
68
69. What is a key difference between Layer 2 and Layer 3 switches? * A) Layer 3 switches cannot perform Inter-VLAN Routing * B) Layer 3 switches support routing protocols * C) Layer 2 switches operate at the network layer * D) Layer 2 switches can route between VLANs
* Answer: B) Layer 3 switches support routing protocols
69
70. What is the benefit of disabling DTP with switchport nonegotiate? * A) It forces the port into access mode * B) It increases trunking bandwidth * C) It prevents unwanted trunk formation * D) It enables VLAN pruning
* Answer: C) It prevents unwanted trunk formation
70
71. Which command is used to show all configured VLANs on a switch? * A) show interfaces * B) show vlan brief * C) show interfaces trunk * D) show run vlan
* Answer: B) show vlan brief
71
72. What is the maximum number of VLANs supported in 802.1Q? * A) 256 * B) 512 * C) 1005 * D) 4094
* Answer: D) 4094
72
73. To allow only VLANs 10 and 20 on a trunk, which command is used? * A) switchport vlan 10,20 * B) vlan trunk allow 10 20 * C) switchport trunk allowed vlan 10,20 * D) trunk vlan enable 10 20
* Answer: C) switchport trunk allowed vlan 10,20
73
74. Which of the following would break Inter-VLAN routing? * A) Trunking misconfiguration * B) Incorrect subnetting * C) Native VLAN mismatch * D) All of the above
* Answer: D) All of the above
74
75. Which command creates a VLAN on a switch? * A) add vlan 10 * B) vlan 10 * C) create vlan 10 * D) interface vlan 10
* Answer: B) vlan 10
75
76. What must be enabled on a Layer 3 switch to perform Inter-VLAN Routing? * A) Spanning-tree * B) IP routing * C) DTP * D) VLAN pruning
* Answer: B) IP routing
76
77. What command turns on routing on a Layer 3 switch? * A) enable routing * B) routing enable * C) ip routing * D) switchport routing enable
* Answer: C) ip routing
77
78. Which trunking protocol does Cisco prefer today? * A) ISL * B) 802.1Q * C) DTP * D) VTP
* Answer: B) 802.1Q
78
79. Which DTP mode disables DTP negotiation entirely? * A) Trunk * B) Access * C) Nonegotiate * D) Dynamic Auto
* Answer: C) Nonegotiate
79
80. What could cause a trunk link to go down between two switches? * A) Mismatched VLANs between the switches * B) DTP negotiation failure * C) Incorrect native VLAN configuration * D) All of the above
* Answer: D) All of the above
80
81. A trunk link is up, but no VLANs are passing through it. What is the most likely cause? * A) The trunk encapsulation is incorrect * B) The native VLAN is mismatched * C) The VLANs are not allowed on the trunk * D) The trunking protocol is not enabled
* Answer: C) The VLANs are not allowed on the trunk
81
82. Which of the following will NOT affect the successful formation of a trunk link? * A) Native VLAN mismatch * B) Encapsulation mismatch * C) DTP mode mismatch * D) Access mode configuration
* Answer: D) Access mode configuration
82
84. Which command displays the operational status of VLANs on a trunk port? * A) show ip route * B) show interfaces vlan brief * C) show interfaces trunk * D) show running-config
* Answer: C) show interfaces trunk
83
85. How do you manually set a switchport to trunk mode and prevent DTP negotiation? * A) switchport mode trunk * B) switchport nonegotiate * C) switchport trunk allowed vlan * D) switchport mode access
* Answer: B) switchport nonegotiate
84
86. Which command enables routing between VLANs on a router subinterface? * A) ip routing * B) ip address [ip address] [subnet mask] * C) interface vlan [vlan id] * D) ip address [ip address]
* Answer: B) ip address [ip address] [subnet mask]
85
87. What does the ‘switchport mode access’ command do on a switch port? * A) Forces the port into trunk mode * B) Forces the port to allow all VLANs * C) Configures the port as an access port * D) Disables the port
* Answer: C) Configures the port as an access port
86
88. Which command prevents a port from negotiating trunking? * A) switchport trunk allowed vlan * B) switchport nonegotiate * C) switchport trunk native vlan * D) switchport mode trunk
* Answer: B) switchport nonegotiate
87
89. In which situation would you use a router-on-a-stick configuration? * A) When you need to route between multiple VLANs using a router * B) When you want to enable routing protocols on a Layer 3 switch * C) When you have a large number of VLANs to route between * D) When you want to extend the VLAN across multiple switches
* Answer: A) When you need to route between multiple VLANs using a router
88
90. Which of the following is the default encapsulation method on Cisco switches for trunking? * A) ISL * B) 802.1Q * C) VTP * D) PPP
* Answer: B) 802.1Q
89
91. Which DTP mode is best used when you want the switch port to form a trunk only if the other side is configured as trunk? * A) Dynamic Auto * B) Dynamic Desirable * C) Trunk * D) Access
* Answer: A) Dynamic Auto
90
92. Which of the following would you use to verify that Inter-VLAN Routing is working correctly on a router? * A) show ip route * B) show ip interface brief * C) show interfaces vlan * D) ping between devices in different VLANs
* Answer: D) ping between devices in different VLANs
91
93. What is the maximum number of VLANs allowed in 802.1Q? * A) 254 * B) 255 * C) 1005 * D) 4096
* Answer: D) 4096
92
94. Which configuration issue could cause a trunk to fail to form? * A) Trunk mode on both sides * B) Native VLAN mismatch * C) VLAN tagging enabled on both sides * D) DTP mode set to dynamic desirable on both sides
* Answer: B) Native VLAN mismatch
93
95. What is the default behavior of DTP when a switch port is set to dynamic auto? * A) It will attempt to negotiate trunking with the other side * B) It will never form a trunk * C) It will always create a trunk * D) It will immediately become an access port
* Answer: A) It will attempt to negotiate trunking with the other side
94
96. What happens if a router subinterface is not assigned an IP address? * A) The subinterface will become inactive * B) Routing between VLANs will still work * C) The router will not be able to route between VLANs * D) The subinterface will perform VLAN tagging automatically
* Answer: C) The router will not be able to route between VLANs
95
98. What is the function of Inter-VLAN Routing? * A) To route data between devices in the same VLAN * B) To provide security between VLANs * C) To route traffic between devices in different VLANs * D) To segment a network into multiple VLANs
* Answer: C) To route traffic between devices in different VLANs
96
99. What command is used to assign an IP address to a router subinterface for VLAN 10? * A) ip address 192.168.10.1 255.255.255.0 * B) ip address 192.168.10.1 255.255.255.0 subinterface 10 * C) interface vlan 10 ip address 192.168.10.1 255.255.255.0 * D) ip address 192.168.10.1
* Answer: A) ip address 192.168.10.1 255.255.255.0
97
100. Which of the following is the default trunking encapsulation for Cisco switches? * A) ISL * B) 802.1Q * C) VTP * D) L2TP
* Answer: B) 802.1Q