Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q1791: Fill in the blank: To verify VLAN configurations on a switch, the command _______ can be used.
- A: show vlan brief
- B: show interfaces trunk
- C: show running-config
- D: show vlan
View Answer
B
Q1792: What command would you use to remove a VLAN configuration from a switch?
- A: delete vlan.dat
- B: erase startup-config
- C: no vlan vlan-id
- D: clear vlan configuration
View Answer
C
Q1793: Fill in the blank: When configuring a trunk port, the command switchport mode trunk sets the port to _______.
- A: negotiate trunking
- B: always be a trunk
- C: only carry VLAN 1
- D: operate in dynamic mode
View Answer
B
Q1794: What is the default VLAN used by Cisco switches if no native VLAN is specified?
- A: VLAN 1
- B: VLAN 1002
- C: VLAN 1005
- D: VLAN 4094
View Answer
A
Q1795: Fill in the blank: If a VLAN is deleted, its configuration will be removed from the _______.
- A: vlan.dat file
- B: running-config
- C: startup-config
- D: flash memory
View Answer
A
Q1796: What command should be used to configure a trunk port to prevent DTP negotiation?
- A: switchport mode trunk
- B: switchport nonegotiate
- C: switchport trunk allowed vlan
- D: switchport access vlan
View Answer
B
Q1797: Fill in the blank: The erase startup-config command is used to _______.
- A: remove configuration files from NVRAM
- B: delete VLAN configurations
- C: reset VLAN settings
- D: clear running configurations
View Answer
A
Q1798: What command allows a switch to support VLANs on trunk links in Packet Tracer?
- A: switchport mode trunk
- B: switchport access vlan vlan-id
- C: switchport trunk allowed vlan vlan-list
- D: switchport mode dynamic
View Answer
A
Q1799: Fill in the blank: The switchport nonegotiate command is used to _______.
- A: disable DTP negotiation
- B: enable trunking
- C: configure VLANs dynamically
- D: assign a port to a VLAN
View Answer
A
Q1800: What is the purpose of network redundancy in a hierarchical network?
- A: Increase network speed
- B: Provide additional physical links
- C: Improve data encryption
- D: Manage Layer 2 loops
View Answer
B