![Huawei S6700 Series Configuration Manual Download Page 136](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517136.webp)
l
Configuring IP addresses for interfaces to ensure that neighboring switches are reachable
at the network layer
l
Configuring Basic OSPF Functions
Data Preparation
To configure a stub area, you need the following data.
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 switches 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 switches in the stub area.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4 OSPF Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
117