Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 OSPF Configuration
3-25
3.4.2 Configuration Procedure
Follow these steps to configure OSPF area parameters:
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
]
Optional
Not configured by default
Configure the area as an
NSSA area
nssa
[
default-route-advertise
|
no-import-route
|
no-summary
] *
Optional
Not configured by default
Specify a cost for the
default route advertised
to the stub or NSSA area
default-cost
cost
Optional
Defaults to 1.
Configure a virtual link
vlink-peer
router-id
[
hello
seconds
|
retransmit
seconds
|
trans-delay
seconds |
dead
seconds
|
simple
[
plain
|
cipher
]
password
| {
md5
|
hmac-md5
}
key-id
[
plain
|
cipher
]
password
] *
Optional
Configured on both ends of
a virtual link
Note that
hello
and
dead
parameters must be
identical on both ends of
the link.
Advertise a host route
host-advertise
ip-address cost
Optional
Not advertised by default
Note:
z
It is required to use the
stub
command on routers attached to a stub area.
z
It is required to use the
nssa
command on routers attached to an NSSA area.
z
Using the
default-cost
command only takes effect on the ABR of a stub area or the
ABR/ASBR of an NSSA area.
3.5 Configuring OSPF Network Types
OSPF classifies networks into four types upon link layer protocols. Since an NBMA
network must be fully meshed, namely, any two routers in the network must have a