Enabling Ospf; Configuration Procedure - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

Configuring OSPF
Sham Link
Configuring OSPF
Graceful Restart

Enabling OSPF

You need to enable OSPF before you can perform other OSPF configuration tasks.
Prerequisites
Before configuring OSPF, you have configured the link layer protocol, and IP addresses for interfaces,
making neighboring nodes accessible with each other at the network layer.

Configuration Procedure

To enable OSPF on a router, you need to create an OSPF process and specify areas with which the
process is associated, and the network segments contained in each area. If an interface's IP address
resides on a network segment of an area, the interface belongs to the area and is enabled with OSPF,
and OSPF advertises the direct route of the interface.
To run OSPF, a router must have a Router ID, which is the unique identifier of the router in the AS.
You can specify a Router ID when creating the OSPF process. Any two routers in an AS must have
different Router IDs. In practice, the ID of a router is the IP address of one of its interfaces.
If you specify no Router ID when creating the OSPF process, the global Router ID will be used. For
details about global Router ID, refer to IP Routing Overview in the IP Routing Volume. You are
recommended to specify a Router ID when creating the OSPF process.
The system supports OSPF multi-process and OSPF multi-instance:
When a router runs multiple OSPF processes, you need to specify a Router 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.
You can configure an OSPF process to run in a specified VPN instance.
Follow these steps to enable OSPF:
To do...
Enter system view
Enable an OSPF process and
enter its view
Configure a description for
the OSPF process
Task
Configuration Prerequisites
Configuring a Loopback Interface
Advertising Routes of a Loopback Interface
Creating a Sham Link
Configuring the OSPF GR Restarter
Configuring the OSPF GR Helper
Triggering OSPF Graceful Restart
Use the command...
System-view
ospf [ process-id |
router-id router-id |
vpn-instance
instance-name ] *
description description
1-21
Remarks
Required
Not enabled by default.
Optional
Not configured by default.
Remarks
Optional
Optional
Optional
Optional
Optional
Optional
Optional

Advertisement

Chapters

Table of Contents
loading

Table of Contents