Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Multiple Choice Questions

Q1071: Fill in the blank: To change the OSPF router ID manually, the ____ command is used in router configuration mode.
  • A: set router-id
  • B: router-id rid
  • C: ospf-id change
  • D: reset router-id
View Answer
B

Q1072: What command is used to view the current OSPF router ID on a Cisco router?
  • A: show router ospf
  • B: show ip ospf
  • C: show ospf id
  • D: show ospf interface-id
View Answer
B

Q1073: What will OSPF do if a router ID is not manually configured and no loopback interface is available?
  • A: It will use the lowest physical interface IP address
  • B: It will use the highest physical interface IP address
  • C: It will randomly assign a router ID
  • D: It will stop OSPF from running
View Answer
B

Q1074: Fill in the blank: The command "clear ip ospf process" forces OSPF to transition to the ____ state.
  • A: Up
  • B: Down
  • C: Init
  • D: Complete
View Answer
B

Q1075: What is the primary function of the OSPF router ID?
  • A: To identify OSPF interfaces
  • B: To uniquely identify a router within the OSPF domain
  • C: To manage OSPF routing tables
  • D: To prioritize OSPF traffic
View Answer
B

Q1076: Fill in the blank: OSPF routing updates are sent only on ____ interfaces.
  • A: Up
  • B: Down
  • C: Passive
  • D: Active
View Answer
D

Q1077: Which router is elected as the designated router (DR) in an OSPF network?
  • A: The router with the lowest priority
  • B: The router with the highest router ID
  • C: The router with the highest interface IP address
  • D: The first router configured in the network
View Answer
B

Q1078: What is the primary purpose of configuring OSPF in a network?
  • A: Increase bandwidth
  • B: Dynamic routing
  • C: Manual routing
  • D: Decrease latency
View Answer
B

Q1079: What is the command used to configure a router's OSPF process?
  • A: router ospf
  • B: set ip ospf
  • C: config ospf
  • D: ip ospf route
View Answer
A

Q1080: Fill in the blank: OSPF uses a ____ to group routers in a single area.
  • A: Network ID
  • B: Area ID
  • C: Subnet Mask
  • D: Router ID
View Answer
B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now