
Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 4 OSPF Configuration
4-15
z
Configuring router ID
To ensure stable OSPF operation, you should determine the division of router IDs and
manually configure them when implementing network planning. When you configure
router IDs manually, make sure each router ID is uniquely used by one router in the
AS. A common practice is to set the IP address of an interface on the router to the
router ID.
z
Enabling OSPF
The switches support multiple OSPF processes. To enable multiple OSPF processes
on a router, you need to specify different process IDs. OSPF process ID is only locally
significant; it does not affect the packet exchange between an OSPF process and
other routers. Therefore, packets can be exchanged between routers with different
OSPF processes IDs.
z
Configuring an area and the network segments in the area. You need to plan
areas in an AS before performing the corresponding configurations on each
router.
When configuring the routers in the same area, please note that most configurations
should be uniformly made based on the area. Wrong configuration may disable
information transmission between neighboring routers and even lead to congestion or
self-loop of routing information.
Follow these steps to perform basic OSPF configurations:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the router ID
router id
router-id
Optional
If multiple OSPF processes run
on a router, you are
recommended to use the
router-id
keyword in the
ospf
command to specify different
router IDs for different
processes.
Enable OSPF and enter
OSPF view
ospf
[
process-id
[
router-id
router-id
] ]
Required
Enter OSPF view.
Enter OSPF area view
area area-id
—
Configure the network
segments in the area
network ip-address
wildcard-mask
Required
By default, an interface does not
belong to any area.