Information Technology Reference
In-Depth Information
Remove the configured router ID with the no form of the router-id command.
Step 7.
R1(config)# router ospf 1
R1(config-router)# no router-id 10.4.4.4
Reload or use “clear ip ospf process” command, for this to take effect
Restart the OSPF process using the clear ip ospf process command.
Step 8.
Restarting the OSPF process forces the router to use the IP address configured on the
Loopback 0 interface as the router ID:
R1(config-router)# end
R1# clear ip ospf process
Reset ALL OSPF processes? [no]: yes
R1#
Task 7: Verify OSPF Operation
On the R1 router, use the show ip ospf neighbor command to view the information about
the OSPF neighbor routers R2 and R3.
Step 1.
You should be able to see the neighbor ID and IP address of each adjacent router, and the
interface that R1 uses to reach that OSPF neighbor:
R1# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.2.2.2 0 FULL/- 00:00:32 192.168.10.2 Serial0/0/0
10.3.3.3 0 FULL/- 00:00:32 192.168.10.6 Serial0/0/1
R1#
On the R1 router, use the show ip protocols command to view information about the rout-
ing protocol operation.
Step 2.
Notice that the information that was configured in the previous tasks, such as protocol,
process ID, neighbor ID, and networks, is shown in the output. The IP addresses of the
adjacent neighbors are also shown:
R1# show ip protocols
Routing Protocol is “ospf 1”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 10.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.16.1.16 0.0.0.15 area 0
192.168.10.0 0.0.0.3 area 0
192.168.10.4 0.0.0.3 area 0
Routing Information Sources:
Gateway Distance Last Update
10.2.2.2 110 00:11:43
10.3.3.3 110 00:11:43
Distance: (default is 110)
Notice that the output specifies the process ID used by OSPF.
Search WWH ::




Custom Search