Multicast and Routing Guide K/KA/KB.15.15
Figure 33 Creating stub area and NSSA assignments
Assigning VLANs and/or subnets to each area
After you define an OSPF area (page A-25), you can assign one or more VLANs and/or subnets
to it. When a VLAN is assigned to an area, all currently configured IP addresses in that VLAN are
automatically included in the assignment unless you enter a specific IP address.
NOTE: All static VLANs configured on a routing switch configured for OSPF must be assigned
to one of the defined areas in the AS.
Syntax:
vlan vid # ip ospf [ ip-addr | all ] areaospf-area-id
Executed in a specific VLAN context to assign the VLAN or individual subnets in
the VLAN to the specified area. Requires that the area is already configured on the
routing switch (page A-25.)
When executed without specifying an IP address or using the all keyword, this
command assigns all configured networks in the VLAN to the specified OSPF area.
vlan vid Defines the VLAN context for executing the area
assignment.
ip-addr Defines a specific subnet on the VLAN to assign to a
configured OSPF area.
all Assigns all subnets configured on the VLAN to a
configured OSPF area.
area ospf-area-id Identifies the OSPF area to which the VLAN or selected
subnet should be assigned.
Assigning the routing switch to OSPF areas 145










