Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 153
Q1761:
What does the Dynamic Trunking Protocol (DTP) do?
A. Converts a link to a trunk link
B. Configures VLAN IDs
C. Changes the port to access mode
D. Specifies the VLAN list
Correct Answer: A
Chapter: 153
Q1762:
Fill in the blank: To reset a trunk link to its default state, use the command _______.
A. switchport mode trunk
B. switchport trunk allowed vlan vlan-list
C. no switchport trunk
D. switchport trunk reset
Correct Answer: C
Chapter: 153
Q1763:
What is the primary purpose of configuring a trunk link between switches?
A. To carry traffic for multiple VLANs
B. To restrict VLAN traffic
C. To connect two switches as access ports
D. To set up Dynamic Trunking Protocol
Correct Answer: A
Chapter: 153
Q1764:
Fill in the blank: The switchport mode trunk command makes the port enter into _______ mode.
A. access
B. dynamic
C. trunk
D. routed
Correct Answer: C
Chapter: 153
Q1765:
What is the effect of the switchport mode trunk command on the switch port?
A. It permanently sets the port to trunking mode.
B. It temporarily sets the port to trunking mode.
C. It configures the port for dynamic negotiation.
D. It sets the port to access mode.
Correct Answer: A
Chapter: 153
Q1766:
Fill in the blank: If a VLAN trunk is reset to its default state, _______ configuration is cleared.
A. all VLAN
B. trunking
C. access
D. dynamic
Correct Answer: B
Chapter: 154
Q1767:
What does Dynamic Trunking Protocol (DTP) manage?
A. IP address assignment
B. Trunk negotiation
C. VLAN assignment
D. Routing protocols
Correct Answer: B
Chapter: 154
Q1768:
Fill in the blank: DTP operates on a _______ basis between network devices.
A. one-to-many
B. many-to-many
C. point-to-point
D. broadcast
Correct Answer: C
Chapter: 154
Q1769:
What command is used to configure a port as a trunk and prevent DTP frames from being generated?
A. switchport mode trunk
B. switchport nonegotiate
C. switchport trunk allowed vlan vlan-list
D. switchport mode dynamic
Correct Answer: B
Chapter: 154
Q1770:
To clear the VLAN configuration from a Cisco switch, you use the command _______.
A. erase startup-config
B. delete vlan.dat
C. reload
D. delete flash
Correct Answer: B
Chapter: 154
Q1771:
What command sequence is used to reset a Cisco switch to its factory default condition?
A. delete vlan.dat, erase startup-config, reload
B. reload, delete vlan.dat, erase startup-config
C. erase startup-config, delete vlan.dat, reload
D. reload, erase startup-config, delete vlan.dat
Correct Answer: A
Chapter: 154
Q1772:
Fill in the blank: The erase startup-config command removes all configuration files from _______.
A. flash memory
B. RAM
C. nvram
D. running-config
Correct Answer: C
Chapter: 154
Q1773:
What is the purpose of the reload command after clearing a switch configuration?
A. To reboot the switch with the new configuration
B. To remove VLANs from the switch
C. To save changes to the startup configuration
D. To delete the switch’s running configuration
Correct Answer: A
Chapter: 154
Q1774:
After using the delete vlan.dat command, you must use the _______ command to fully clear the VLAN database.
A. erase startup-config
B. reload
C. delete flash
D. erase nvram
Correct Answer: B
Chapter: 154
Q1775:
What does the switchport mode dynamic command do?
A. Configures a port for dynamic trunk negotiation
B. Disables trunk negotiation
C. Sets the port to access mode
D. Configures the port as a static trunk
Correct Answer: A
Chapter: 154
Q1776:
Fill in the blank: To ensure a port becomes a trunk port without DTP negotiation, use the command _______.
A. switchport mode dynamic
B. switchport trunk allowed vlan vlan-list
C. switchport nonegotiate
D. switchport mode trunk
Correct Answer: C
Chapter: 154
Q1777:
What is the function of the erase nvram command?
A. To remove the startup configuration file
B. To delete the running configuration
C. To clear VLAN data from flash memory
D. To reset the switch’s VLAN database
Correct Answer: A
Chapter: 155
Q1778:
What is the first step in configuring VLANs and trunking in Packet Tracer?
A. Create VLANs
B. Assign switch ports
C. Build the network
D. Configure 802.1Q trunk
Correct Answer: C
Chapter: 155
Q1779:
Fill in the blank: To configure an 802.1Q trunk between switches, you must first _______.
A. build the network
B. assign VLANs
C. configure switch ports
D. create VLANs
Correct Answer: A
Chapter: 155
Q1780:
What command is used to assign a switch port to a VLAN in Packet Tracer?
A. switchport access vlan vlan-id
B. switchport trunk allowed vlan vlan-list
C. vlan vlan-id
D. switchport mode dynamic
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now