Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The router ospf process-id command enables the OSPF process, and the network address wildcard-mask area area-id command assigns networks to a specific OSPF area. For example, the following configuration enables OSPF process 10 and activates OSPF on all interfaces that have interface addresses that match the address and mask combination for area 0. For example, if a router has two interfaces configured with IP addresses 192.168.10.1/27 and 192.168.10.33/27 each, OSPF will be enabled on both interfaces. Notice that you must specify the wildcard mask instead of the subnet mask:
RouterA(config)#router ospf 10 RouterA(config-router)#network 192.168.10.0 0.0.0.255 area 0