Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q1131: Which command gives a summary of all OSPF-enabled interfaces?
- A: show ip ospf summary
- B: show ip ospf interface brief
- C: show ip route summary
- D: show ospf interface
View Answer
B
Q1132: What does the OSPF "Neighbor ID" represent?
- A: Interface address
- B: Router ID of the neighboring router
- C: IP address of the interface
- D: DR/BDR status
View Answer
B
Q1133: Which factor does NOT prevent OSPF adjacencies from forming?
- A: Mismatched subnet masks
- B: Mismatched network types
- C: Missing or incorrect OSPF network command
- D: Correct Dead Timer settings
View Answer
D
Q1134: Fill in the blank: OSPF adjacencies are formed over the ____ interface of the router.
- A: GigabitEthernet
- B: Loopback
- C: Serial
- D: Directly connected
View Answer
D
Q1135: Fill in the blank: The command "show ip ospf ____" provides a detailed list of OSPF-enabled interfaces.
- A: routes
- B: neighbors
- C: interface
- D: timers
View Answer
C
Q1136: What is the primary difference between OSPFv2 and OSPFv3?
- A: OSPFv2 uses IPv4, OSPFv3 uses IPv6
- B: OSPFv2 uses IPv6, OSPFv3 uses IPv4
- C: OSPFv2 and OSPFv3 use different routing algorithms
- D: OSPFv2 uses different packet types than OSPFv3
View Answer
A
Q1137: Fill in the blank: OSPFv3 uses ____ addresses to form neighbor adjacencies instead of global unicast addresses.
- A: link-local
- B: global unicast
- C: private
- D: multicast
View Answer
A
Q1138: What command is used to configure the router ID in OSPF?
- A: router ospf
- B: ospf router-id
- C: ip ospf cost
- D: ospf configuration
View Answer
B
Q1139: Fill in the blank: The OSPFv2 multicast address used for all OSPF routers is _____.
- A: 224.0.0.5
- B: FF02::5
- C: 239.0.0.5
- D: 255.255.255.255
View Answer
A
Q1140: Which protocol uses the link-local address of the exit interface as the source address for its messages?
- A: OSPFv2
- B: OSPFv3
- C: BGP
- D: EIGRP
View Answer
B