Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 93
Q1061:
Which command would you use to verify the new router ID after reloading OSPF?
A. show ip ospf
B. show ip protocols
C. clear ip ospf
D. reset ip ospf
Correct Answer: B
Chapter: 93
Q1062:
Fill in the blank: To change OSPF routing metrics, you can use the ____ command.
A. ospf metric-change
B. modify ip ospf
C. ip ospf cost
D. set ospf metrics
Correct Answer: C
Chapter: 94
Q1063:
What does the router ID in OSPF uniquely identify?
A. Router Interface
B. OSPF Domain
C. The Router
D. OSPF Process
Correct Answer: C
Chapter: 94
Q1064:
Which OSPF command is used to view the router’s OSPF information?
A. show ip protocols
B. show ip ospf
C. show ip interfaces
D. show ospf routes
Correct Answer: B
Chapter: 94
Q1065:
Fill in the blank: The OSPF ____ process can be cleared using the clear ip ospf process command.
A. OSPF link-state
B. OSPF routing
C. OSPF election
D. OSPF network configuration
Correct Answer: B
Chapter: 94
Q1066:
What happens when the OSPF process is cleared on a router?
A. The router reloads its configurations
B. The OSPF routing tables are cleared
C. OSPF transitions to the Down and Init states
D. OSPF recalculates the entire routing domain
Correct Answer: C
Chapter: 94
Q1067:
What command is used to reset the OSPF routing process?
A. reset ospf routing
B. clear ip ospf process
C. ospf reset-id
D. reset ospf protocols
Correct Answer: B
Chapter: 94
Q1068:
Fill in the blank: OSPF uses ____ to uniquely identify each router in the OSPF domain.
A. Interface ID
B. Loopback ID
C. Router ID
D. OSPF Network ID
Correct Answer: C
Chapter: 94
Q1069:
Which command would you use to change the router ID of an OSPF router?
A. router-id change
B. ospf-id change
C. router-id rid
D. change router-id ospf
Correct Answer: C
Chapter: 94
Q1070:
What is the default method of assigning a router ID in OSPF?
A. The highest physical interface IP address
B. The lowest physical interface IP address
C. A manually configured router ID
D. The router with the highest priority value
Correct Answer: A
Chapter: 94
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
Correct Answer: B
Chapter: 94
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
Correct Answer: B
Chapter: 94
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
Correct Answer: B
Chapter: 94
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
Correct Answer: B
Chapter: 94
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
Correct Answer: B
Chapter: 94
Q1076:
Fill in the blank: OSPF routing updates are sent only on ____ interfaces.
A. Up
B. Down
C. Passive
D. Active
Correct Answer: D
Chapter: 94
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
Correct Answer: B
Chapter: 95
Q1078:
What is the primary purpose of configuring OSPF in a network?
A. Increase bandwidth
B. Dynamic routing
C. Manual routing
D. Decrease latency
Correct Answer: B
Chapter: 95
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
Correct Answer: A
Chapter: 95
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
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now