H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 4 OSPF Configuration
4-12
4.4.1 Configuration Prerequisites
Before configuring OSPF area attributes, perform the following tasks:
z Configuring the network layer addresses of interfaces so that the adjacent nodes
are reachable to each other at the network layer
z Performing basic OSPF configuration
4.4.2 Configuring OSPF Area Attributes
Follow these steps to configure OSPF area attributes:
To do... Use the command... Remarks
Enter system view
system-view
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Enter OSPF area view
area area-id
Configure the current area
to be a stub area
stub [ no-summary ]
Optional
By default, no area is
configured as a stub area.
Configure an area to be
an NSSA area
nssa
[ default-route-advertise
| no-import-route |
no-summary ]*
Optional
By default, no area is
configured as an NSSA
area.
Configure the cost of the
default route transmitted
by OSPF to a stub or
NSSA area
default-cost cost
Optional
This can be configured on
an ABR only. By default,
the cost of the default
route to a stub or NSSA
area is 1.
Create and configure a
virtual link
vlink-peer router-id
[ hello seconds |
retransmit seconds |
trans-delay seconds |
dead seconds | simple
password | md5 keyid
key ]*
Optional
For a virtual link to take
effect, you need to use
this command at both
ends of the virtual link and
ensure consistent
configurations of the
hello, dead, and other
parameters at both ends.