OSPF 85
Enabling OSPF and Entering OSPF View
Perform the following configurations in system view.
By default, OSPF is not enabled.
Entering OSPF Area View
Perform the following configurations in OSPF view.
Specifying the Interface
OSPF divides the AS into different areas. You must configure each OSPF interface
to belong to a particular area, identified by an area ID. The areas transfer routing
information between them through the ABRs.
In addition, parameters of all the routers in the same area should be identical.
Therefore, when configuring the routers in the same area, please note that most
configurations should be based on the area. An incorrect configuration can disable
the neighboring routers from transmitting information, and lead to congestion or
self-loop of the routing information.
Perform the following configuration in OSPF Area view.
You must specify the segment to which the OSPF will be applied after enabling the
OSPF tasks.
Configuring Router ID
A router ID is a 32-bit unsigned integer that uniquely identifies a router within an
AS. A router ID can be configured manually. If a router ID is not configured, the
system selects the IP address of an interface automatically. When you set a router
ID manually, you must guarantee that the IDs of any two routers in the AS are
unique. A common undertaking is to make the router ID the same as the IP
address of an interface on the router.
Table 23 Enabling the OSPF Process
Operation Command
Enable the OSPF process ospf [ process-id [[ router-id router-id ]]
Disable the OSPF process undo ospf [ process-id ]
Table 24 Entering OSPF Area View
Operation Command
Enter an OSPF area view area area-id
Delete a designated OSPF area undo area area-id
Table 25 Specifying Interface
Operation Command
Specify an interface to run OSPF network ip-address ip-mask
Disable OSPF on the interface undo network ip-address ip-mask