Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Multiple Choice Questions

Q1031: What is the command to clear the OSPF process and reset the router ID?
  • A: show ip protocols
  • B: clear ip ospf process
  • C: reload
  • D: reset ospf
View Answer
B

Q1032: Which command syntax is used to enable OSPF on an interface based on its IP address?
  • A: network network-address wildcard-mask area area-id
  • B: network intf-ip-address 0.0.0.0 area area-id
  • C: ospf interface address
  • D: ospf intf network-id
View Answer
B

Q1033: What subnet mask is recommended when using a loopback interface for the router ID?
  • A: 255.255.0.0
  • B: 255.255.255.0
  • C: 255.255.255.255
  • D: 255.0.0.0
View Answer
C

Q1034: Fill in the blank: The router with the second highest router ID is elected as the ___.
  • A: DR
  • B: BDR
  • C: LSA
  • D: Router ID
View Answer
B

Q1035: Fill in the blank: OSPFv2 is primarily used for ___.
  • A: IPv6
  • B: IPv4
  • C: Both IPv4 and IPv6
  • D: IS-IS
View Answer
B

Q1036: Which router configuration mode command is used to manually assign the OSPF router ID?
  • A: router-id rid
  • B: show ip protocols
  • C: network interface-id
  • D: clear ip ospf process
View Answer
A

Q1037: What is the first step in configuring basic single-area OSPFv2 in Packet Tracer?
  • A: Build network
  • B: Configure OSPF routing
  • C: Verify OSPF routing
  • D: Change Router ID assignments
View Answer
A

Q1038: In OSPF, what is the purpose of configuring passive interfaces?
  • A: To enable dynamic routing updates
  • B: To prevent sending OSPF updates on an interface
  • C: To change router metrics
  • D: To modify OSPF area configuration
View Answer
B

Q1039: Which of the following is NOT a typical step in configuring single-area OSPFv2?
  • A: Change router ID assignments
  • B: Build network
  • C: Configure DHCP
  • D: Configure OSPF routing
View Answer
C

Q1040: What command is used to configure a router in OSPF routing?
  • A: ip ospf process
  • B: router ospf process
  • C: ospf network command
  • D: passive-interface command
View Answer
B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now