Trunking, DTP, and Inter-VLAN Routing Flashcards
- 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) To allow multiple VLANs to communicate over a single physical link
- 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
o Answer: B) 802.1Q
- 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
o Answer: A) VLAN 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
o Answer: B) show interfaces trunk
- 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
o Answer: B) The VLAN that carries untagged traffic
- 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
o Answer: A) To negotiate trunking between switches
- 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
o Answer: B) Dynamic Desirable
- Which DTP mode is the default on most Cisco switches?
o A) Dynamic Auto
o B) Dynamic Desirable
o C) Trunk
o D) Access
o Answer: A) Dynamic Auto
- 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
o Answer: C) Use the ‘switchport nonegotiate’ command
- Which IEEE standard does DTP support for trunking?
o A) 802.1Q
o B) 802.3u
o C) 802.3ad
o D) 802.1D
o Answer: A) 802.1Q
- 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
o Answer: A) A router with subinterfaces configured for each VLAN
- 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
o Answer: C) interface g0/0.10 encapsulation dot1Q 10
- 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
o Answer: B) To specify the VLAN ID for the subinterface
- 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
o Answer: D) All of the above
- 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
o Answer: C) To provide a path for traffic to leave the VLAN
- 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
o Answer: A) It will not negotiate trunking and will always be in trunk mode
- 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
o Answer: A) show interfaces trunk
- 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
o Answer: A) It disables DTP on the port
- 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
o Answer: B) To enable communication between different VLANs
Which device is typically used to perform Inter-VLAN Routing?
* A) Layer 2 switch
* B) Layer 3 switch
* C) Router
* D) Hub
- Answer: B) Layer 3 switch
- 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
- In a router-on-a-stick configuration, what is the purpose of subinterfaces?
- Answer: B) To create multiple logical interfaces on a single physical interface
- 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
- Which command is used to assign an IP address to a subinterface on a router?
- Answer: A) ip address [IP address] [subnet mask]
- 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
- What is the purpose of the ‘encapsulation dot1Q’ command in a subinterface configuration?
- Answer: B) To specify the VLAN ID for the subinterface
- 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
- Which command is used to verify the configuration of subinterfaces on a router?
- Answer: A) show ip interface brief