
IP Routing Features
Configuring OSPF
The following examples of configuring a stub area and an NSSA on a routing
switch use an (arbitrary) cost of “10”.
ProCurve(ospf)# area 2 stub 10
Assigns a stub area with a cost of 10.
ProCurve(ospf)# area 3 nssa 10
Assigns an NSSA with a cost of 10
and, by default, uses a Type2 default
cost metric for Type-7 (external) route
LSAs received from the backbone.
ProCurve(ospf)# area 4 nssa 10 no-summary
ProCurve(ospf)# area 5 nssa 10 metric-type type1
Assigns an NSSA with a cost of 10,
blocks injection of type-3 summary
routes, and starts injection of type-3
default routes from the backbone.
Sets the cost metric type for type-7
(default) LSAs injected into the NSSA.
Figure 5-26. Examples of Creating Stub Area and NSSA Assignments
5. Assign VLANs and/or Subnets to Each Area
After you define an OSPF area (page 5-65), 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.
5-69