3Com Switch 8800 Configuration Guide
Chapter 19 OSPF Configuration
19-8
By default, OSPF is disabled.
When enabling OSPF, pay attention to the following points:
z
The default OSPF process ID is 1. If no process ID is specified in the command,
the default one is adopted.
z
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.
19.2.3 Entering OSPF Area View
OSPF divides an AS into different areas or logical groups of routers.
Perform the following configuration in OSPF view.
Table 19-3
Enter OSPF area view
Operation
Command
Enter OSPF area view
area
area
-
id
Delete an OSPF area
undo area
area
-
id
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.
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.
19.2.4 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.
Perform the following configuration in OSPF area view.
Table 19-4
Specifying an interface to run OSPF
Operation
Command
Specify an interface to run OSPF
network ip
-
address
ip
-
mask
Disable OSPF on the interface
undo network ip
-
address
ip
-
mask
The
ip
-
mask
argument is IP address wildcard shielded text (similar to the complement
of the IP address mask).