390
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure basic OSPFv3 (see "
OSPFv3 stub area configuration example
").
3.
Configure Area 1 as an NSSA area:
# Configure Router A.
<RouterA> system-view
[RouterA] ospfv3
[RouterA-ospfv3-1] area 1
[RouterA-ospfv3-1-area-0.0.0.2] nssa
[RouterA-ospfv3-1-area-0.0.0.2] quit
[RouterA-ospfv3-1] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ospfv3
[RouterB-ospfv3-1] area 1
[RouterB-ospfv3-1-area-0.0.0.2] nssa
[RouterB-ospfv3-1-area-0.0.0.2] quit
[RouterB-ospfv3-1] quit
NOTE:
•
To allow Router A in the NSSA area to reach other areas within the AS, you must provide the
keyword
default-route-advertise
for the
nssa
command on Router B (the ABR) so that Router A can
obtain a default route.
•
Configuring the
nssa
command with the keyword
no-summary
on Router B can reduce the routing
table size on NSSA routers. On other NSSA routers, you only need to configure the
nssa
command.
# Display OSPFv3 routing information on Router A.
[RouterA] display ospfv3 1 routing
OSPFv3 Process 1 with Router ID 1.1.1.1
-------------------------------------------------------------------------
I - Intra area route, E1 - Type 1 external route, N1 - Type 1 NSSA route
IA - Inter area route, E2 - Type 2 external route, N2 - Type 2 NSSA route
* - Selected route
*Destination: 2001::/64
Type : IA Cost : 2
NextHop : FE80::20C:29FF:FE74:59C6 Interface: GE1/0
AdvRouter : 2.2.2.2 Area : 0.0.0.1
Preference : 10
*Destination: 2001:1::/64
Type : I Cost : 1
Nexthop : :: Interface: GE1/0
AdvRouter : 1.1.1.1 Area : 0.0.0.2
Preference : 10