H3C LS-3100-52P-OVS-H3 Operation Manual - page 561
1-23
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [process-id | router-id
router-id | vpn-instance
instance-name ] *
—
Enter area view
area area-id
—
Configure the area as a stub
area
stub [ no-summary ]
Required
Not configured by default.
Specify a cost for the default
route advertised to the stub
area
default-cost cost
Optional
Defaults to 1.
z
It is required to use the stub command on routers attached to a stub area.
z
Using the default-cost command only takes effect on the ABR of a stub area.
z
The backbone area cannot be a (totally) stub area.
z
A (totally) stub area cannot have an ASBR because AS external routes cannot be distributed into
the stub area.
z
Virtual links cannot transit (totally) stub areas.
Configuring an NSSA Area
A stub area cannot redistribute routes. You can configure the area as an NSSA area to allow for route
redistribution while keeping other characteristics of a stub area.
Follow these steps to configure an NSSA area:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [process-id | router-id router-id
| vpn-instance instance-name ] *
—
Enter area view
area area-id
—
Configure the area as an
NSSA area
nssa [ default-route-advertise |
no-import-route | no-summary ] *
Required
Not configured by default.
Specify a cost for the default
route advertised to the NSSA
area
default-cost cost
Optional
Defaults to 1.