By configuring a non-backbone area on the border of an autonomous system (AS) as a not-so-stubby area (NSSA), you can reduce the size of the routing table and the amount of routing information to be transmitted.
An excessive number of entries in a routing table wastes network resources and causes high CPU usage. To reduce the number of entries in a routing table and the amount of routing information to be transmitted, configure a non-backbone area on the border of an AS as a stub area or an NSSA. For details about how to configure an OSPFv3 stub area, see Configuring an OSPFv3 Stub Area.
OSPFv3 stub areas cannot import external routes from outside an AS, nor can they learn the external routes imported by the other areas in the same AS. To import external routes to an area and minimize resource consumption, configure the area as an NSSA. NSSAs can import the external routes (outside an AS) and advertise them within the entire AS, without learning external routes from the other areas in the AS. This reduces the consumption of bandwidth and storage resources on the router.
NSSA attributes must be configured on all routers in an NSSA.
Before configuring an OSPFv3 NSSA, complete the following tasks:
The system view is displayed.
The OSPFv3 process view is displayed.
The OSPFv3 forwarding address (FA) function is enabled.
The OSPFv3 area view is displayed.
The specified area is configured as an NSSA.
The usage scenarios of the nssa command parameters are as follows:
To allow default Type 7 LSA generation, specify default-route-advertise. After this parameter is specified, a Type 7 LSA carrying the default route (::/0) will be generated on an ABR, regardless of whether the route ::/0 exists in the ABR's routing table. On an ASBR, however, such an LSA can be generated only if the route ::/0 exists in the ASBR's routing table.
After the nssa default-route-advertise backbone-peer-ignore no-summary command is run, the ABR generates both the default Type 7 LSA and default Type 3 LSA as long as the backbone area contains interfaces that are up. The ABR generates such LSAs regardless of whether neighbor relationships in Full state exist. In this case, the default route carried in the Type 3 LSA has a higher priority.
To set the value of the N-bit flag to 1 in DD packets sent by the router, specify the set-n-bit parameter.
For Type 5 LSAs converted from Type 7 LSAs, to disable such LSAs from carrying forwarding address, specify the suppress-forwarding-address parameter.
The configuration is committed.
After configuring an OSPFv3 NSSA, verify the configuration.
Run the display ospfv3 [ process-id ] routing [ [ ipv6-address prefix-length ] | abr-routes | asbr-routes | ase-routes | inter-routes | intra-routes | nssa-routes ] [ verbose ] command to check the OSPFv3 routing table information.
Run the display ospfv3 [ process-id ] lsdb [ area area-id ] [ [ originate-router advertising-router-id | hostname hostname ] | self-originate ] { grace | inter-prefix | inter-router | intra-prefix | link | network | router | router-information | nssa } [link-state-id ] [ age { min-value min-age-value | max-value max-age-value } * ] command to check the OSPFv3 LSDB information.