IPv6 Configuration Guide K/KA/KB.15.15
Example 130 Configuring an OSPFv3 backbone or normal area
To configure a backbone and a normal area with an ID of "1" (0.0.0.1) on a routing switch:
HP Switch(ospf3)# area backbone
HP Switch(ospf3)# area 1
To convert an existing NSSA or stub area to a normal area, you would include the normal
keyword. For example, if area 10 was configured as an NSSA area you wanted to convert to a
normal area, you would use the following command:
HP Switch(ospf3)# area 10 normal
Configuring a stub or NSSA area
Syntax:
area ospf3-area-id stub [ metric-cost 0 - 16777215 ] [ no-summary ]
area ospf3-area-id nssa
[ metric-cost 0 - 16777215 ]
[ metric-type [ type1 | type2 ]]
[ no-summary ]
no area ospf3-area-id
After using router ospf3 to globally enable OSPFv3 and enter the global OSPF3
context, execute this command to assign the routing switch to a stub area or NSSA
(does not apply to backbone and normal OSPFv3 area ABRs).
The no form of the command removes the routing switch from the specified area.
Default: No areas. Range: 1 - 16 areas (of all types)
ospf3-area-id
Same area ID as in “Configuring an OSPFv3 backbone or normal area”
(page 211), except you cannot assign a backbone area number (0 or 0.0.0.0)
to a stub or NSSA area.
stubnssa
Designates the area identified by ospf3-area-id as a stub area or NSSA.
metric-cost 0 - 16777215
If the routing switch is used as an ABR for the designated area, assigns the cost
of the default route (to the backbone) that is injected into the area.
NOTE: If the routing switch is not an ABR for a stub area or NSSA, the above
cost setting is still allowed, but is not used.
In the default configuration, a routing switch acting as an ABR for a stub area
or NSSA injects type-7-LSA default routes into the area. If no-summary is
configured on the ABR, it injects inter-area-prefix-LSA routes into the area.
For more information on no-summary, see “About replacing
inter-area-prefix-LSAs and type-7-external-LSA default routes with an
AS-external-LSA default route” (page 254).
metric-type [ type1 | type2 ]
Used in NSSA ABRs only. Specifies the type of external cost metric to include
in type-7-LSAs advertised for redistribution of external routes in the NSSA.
The metric-type command specifies whether to include the redistribution
cost in the cost metric calculation for a type-7-LSA default route injected into the
area.
212 OSPFv3 Routing










