Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
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
View Answer
A
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
View Answer
C
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
View Answer
A
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
View Answer
B
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
View Answer
A
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
View Answer
C
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
View Answer
A
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
View Answer
C
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
View Answer
A
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
View Answer
A