Use this command to configure area IDs for OSPF interfaces.
ip-address | Specifies the IP address of an interface or a group of interfaces within the network address range. |
wildcard-mask | Specifies the IP-address-type mask that includes “don't care” bits. |
area area-id | Specifies the area-id to be associated with the OSPF address range. Valid values are decimal values between 0 - 4294967295 or an IP address. A subnet address can be specified as the area-id to associate areas with IP subnets. |
None.
OSPF router configuration.
OSPF network wildcard masks are reverse networks. This means that wherever there is a 1 in a regular netmask, use a 0 in a wildcard mask. For example, if the network mask is 255.255.255.0 (/24), specify a wildcard mask of 000.000.000.255.
The “no” form of this command removes OSPF routing for interfaces identified by the IP address and mask parameters.
This example shows how to configure IP address 182.127.62.1 255.255.255.224 as OSPF area 0:
System(rw-config)->router ospf 1 System(rw-config-ospf-1)->network 182.127.62.1 0.0.0.31 area 0