76
Configuring an NSSA area
A stub area cannot import external routes, but an NSSA area can import external routes into the
OSPF routing domain while retaining other stub area characteristics.
Do not configure the backbone area as an NSSA area or totally NSSA area.
To configure an NSSA area, configure the nssa command on all the routers attached to the area.
To configure a totally NSSA area, configure the nssa command on all the routers attached to the
area and configure the nssa no-summary command on the ABR. The ABR of a totally NSSA area
does not advertise inter-area routes into the area.
To configure an NSSA area:
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Enter area view.
area
area-id
N/A
4. Configure the area as an
NSSA area.
nssa
[
default-route-advertise
[
cost
cost-value |
nssa-only
|
route-policy
route-policy-name |
type
type ] * |
no-import-route
|
no-summary
|
suppress-fa
|
[ [ [
translate-always
]
[
translate-ignore-checking-bac
kbone
] ] |
translate-never
] |
translator-stability-interval
value ] *
By default, no area is configured as
an NSSA area.
5. (Optional.) Set a cost for
the default route advertised
to the NSSA area.
default-cost
cost-value
The default setting is 1.
This command takes effect only on
the ABR/ASBR of an NSSA or
totally NSSA area.
Configuring a virtual link
Virtual links are configured for connecting backbone area routers that have no direct physical links.
To configure a virtual link:
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Enter area view.
area
area-id
N/A
4. Configure a virtual link.
vlink-peer
router-id [
dead
seconds |
hello
seconds |
{ {
hmac-md5
|
md5
} key-id
{
cipher
|
plain
} string |
keychain
keychain-name |
simple
{
cipher
|
plain
} string } |
retransmit
seconds |
trans-delay
seconds ] *
By default, no virtual links exist.
Configure this command on both
ends of a virtual link. The
hello
and
dead
intervals must be identical on
both ends of the virtual link.