No.
Data
1
(Optional) Cost of the default route to the stub area
NOTE
By default, the cost of the default route to the stub area is 1.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ospf
[
process-id
]
The OSPF process view is displayed.
Step 3
Run:
area
area-id
The OSPF area view is displayed.
Step 4
Run:
stub
The specified area is configured as a stub area.
NOTE
l
All routers in a stub area must be configured with stub attributes using the
stub
command.
l
Configuring or deleting stub attributes will update routing information in the area. Stub attributes can
be deleted or configured again only after the routing update is complete.
Step 5
(Optional) Run:
stub
[
no-summary
]
The ABR is prevented from sending Type 3 LSAs to the stub area.
Step 6
(Optional) Run:
default-cost
cost
The cost of the default route to the stub area is set.
To ensure the reachability of AS external routes, the ABR in the stub area generates a default
route and advertises the route to the non-ABR routers in the stub area.
By default, the cost of the default route to the stub area is 1.
----End
Checking the Configurations
Run either of the following commands to check LSDB information.
l
display ospf
[
process-id
]
lsdb
[
brief
]
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
5 OSPF Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
312