H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration
3-23
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
Note:
z An OSPF process ID is unique.
z A network segment can only belong to one area.
z It is recommended to configure a description for each OSPF process to help identify
purposes of processes and for ease of management and memorization.
z It is recommended to configure a description for each area to help identify purposes
of areas and for ease of management and memorization.