Assigning Interfaces to an Area
Once you define OSPFv2 areas, you can assign interfaces to the areas. All device
ports must be assigned to one of the defined areas on an OSPFv2 device. When a port
is assigned to an area, all corresponding subnets on that port are automatically included
in the assignment.
To assign a loopback interface to an area with the IP address of 10.5.0.0, perform the following task.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
interfacecommand and specify an interface. - Enter the
ip ospf areacommand followed by the IP address of the area.