Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 3 OSPF Configuration
3-23
3.3 Configuring OSPF Basic Functions
You need to enable OSPF, specify an interface and area ID first before performing other
tasks.
3.3.1 Prerequisites
Before configuring OSPF, you need to configure IP addresses for interfaces, making
neighboring nodes accessible with each other at the network layer.
3.3.2 Configuration Procedure
z
Configure a Router ID
To ensure OSPF stability, you need to decide on router IDs and configure them
manually. Any two routers in an AS must have different IDs. In practice, the ID of a
router is the IP address of one of its interfaces.
z
Enable an OSPF process
The system supports OSPF multi-process. When a router runs multiple OSPF
processes, you need to specify an ID for each process, which takes effect locally and
has no influence on packet exchange between routers. Therefore, two routers having
different process IDs can exchange packets.
z
Configure an area and specify networks in the area
The configurations for routers in an area are performed on the area basis. Wrong
configurations may cause communication failures, even routing information block or
routing loops between neighboring routers.
Follow these steps to configure OSPF basic functions:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable OSPF and enter its
view
ospf
[
process-id
|
router-id
router-id
] *
Required
Configure a description for
the OSPF process
description description
Optional
Not configured by default
Configure an OSPF area
and enter OSPF area view
area area-id
Required
Not configured by default
Configure a description for
the area
description description
Optional
Not configured by default
Specify a network to enable
OSPF on the interface
attached to the network
network ip-address
wildcard-mask
Required
Not configured by default