H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 4 OSPF Configuration
4-10
4.3.2 Basic OSPF Configuration
Basic OSPF configuration includes:
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 router ID as the IP address of an interface on the
router.
z Enabling OSPF
S7500 Series Ethernet 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, you should consider the area as the
basis to complete most configurations uniformly. 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 configuration:
To do... Use the command... Remarks
Enter system view
system-view
—
Disable protocol
multicast MAC
address delivery
undo protocol
multicast-mac
enable
Optional
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
[ process-id [ router-id
router-id ] ] command to specify
different router IDs for different
processes.
Enable OSPF and
enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
—
Enter OSPF view.
Enter OSPF area view
area area-id
—