2b..route OSPF2b Config
2b..route OSPF2b Config
Router(config)#
router ospf process-id
• Enables one or more OSPF routing processes
Router(config-router)#
network ip-address wildcard-mask area area-id
Router(config-if)#
ip ospf process-id area area-id [secondaries none]
Router(config)#interface loopback 0
Router(config-if)#ip address 172.16.17.5 255.255.255.255
Router(config)#router ospf 1
Router(config-router)#router-id 172.16.1.1
RouterB#sh ip ospf
Routing Process "ospf 50" with ID 10.64.0.2
<output omitted>
Area 1
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm last executed 00:00:54.636 ago
SPF algorithm executed 3 times
<output omitted>
Verifying OSPF Operation
Router#
show ip protocols
• Verifies the configured IP routing protocol processes,
parameters, and statistics
Router#
show ip route ospf [process-id ]
Router#
show ip ospf interface [type number]
• Displays the OSPF router ID, area ID, and adjacency information
Verifying OSPF Operation (Cont.)
Router#
show ip ospf
Router#