3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
Configuring OSPF
313
Perform the following configuration in system view.
To ensure stability of OSPF, the user should determine the division of router IDs and
manually configure them when planning the network.
manually configure them when planning the network.
Enabling OSPF
Perform the following configuration in system view.
By default, OSPF is disabled.
When enabling OSPF, pay attention to the following points:
■
The default OSPF process ID is 1. If no process ID is specified in the command,
the default one is adopted.
the default one is adopted.
■
If a router is running multiple OSPF processes, you are recommended to use
router-id in the command to specify different router IDs for different
processes.
router-id in the command to specify different router IDs for different
processes.
Entering OSPF Area
View
OSPF divides an AS into different areas or logical groups of routers.
Perform the following configuration in OSPF view.
The area-id parameter identifies an area. It can be a decimal integer in the range
of 0 to 4,294,967,295, or in the format of IP address. Regardless of how it is
specified, it is displayed in the format of IP address.
of 0 to 4,294,967,295, or in the format of IP address. Regardless of how it is
specified, it is displayed in the format of IP address.
Note that when you configure OSPF routers in the same area, you should apply
most configuration data to the whole area. Otherwise, the neighboring routers
cannot exchange information. This may even block routing information or create
routing loops.
most configuration data to the whole area. Otherwise, the neighboring routers
cannot exchange information. This may even block routing information or create
routing loops.
Specifying an Interface
to Run OSPF
After using the ospf command to enable OSPF in system view, you must specify
the network to run OSPF. An ABR router can be in different areas, while a network
segment can only belong to an area. That is, you must specify a specific area for
each port running OSPF.
the network to run OSPF. An ABR router can be in different areas, while a network
segment can only belong to an area. That is, you must specify a specific area for
each port running OSPF.
Table 270 Configure router ID
Operation
Command
Configure router ID
router id router-id
Remove the router ID
undo router id
Table 271 Enable/Disable OSPF
Operation
Command
Enable OSPF and enter OSPF view
ospf [ process-id [ router-id router-id |
vpn-instance vpn-instance-name]]
vpn-instance vpn-instance-name]]
Disable one or all OSPF processes
undo ospf [ process-id ]
Table 272 Enter OSPF area view
Operation
Command
Enter OSPF area view
area area-id
Delete an OSPF area
undo area area-id