medium
Single Answer
0Which command will statically set the RID for OSPF and override all others?
Answer Options
A
Router(config)#interface fa 0/1 Router(config-if)#ip address 192.168.1.5 255.255.255.0
B
Router(config)#interface loopback 0 Router(config-if)#ip address 192.168.1.5 255.255.255.0
C
Router(config-router)#rid 192.168.1.5
D
Router(config-router)#router-id 192.168.1.5
Correct Answer: D
Explanation
Although all of these are valid methods of possibly setting the router ID (RID) of the router for OSPF, the configuration of router-id 192.168.1.5 will override all others. Entering interface fa 0/1 and then ip address 192.168.1.5 255.255.255.0 will configure an IP address on an interface. Entering interface loopback 0 and then ip address 192.168.1.5 255.255.255.0 will configure an IP address on the loopback interface 0. The command rid 192.168.1.5 is incorrect.
ospf
router-id
configuration