Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 OSPF Configuration
3-23
3.3.1 Prerequisites
Before configuring OSPF, you have configured IP addresses for interfaces, making
neighboring nodes accessible with each other at the network layer.
3.3.2 Configuration Procedure
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.
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.
The system supports OSPF multi-instance. You can configure an OSPF process to run
in a specified VPN instance to configure an association between the two.
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
|
vpn-instance
instance-name
] *
Required
Not enabled by default
Support for
vpn-instance
instance-name
varies by
device.
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