beautypg.com

Enabling ospf, Configuration prerequisites, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 96

background image

80

Task

Remarks

Graceful Restart

Configuring the OSPF GR Helper

Optional

Triggering OSPF Graceful Restart

Optional

Configuring BFD for OSPF

Optional

Enabling OSPF

You must enable OSPF before performing other OSPF configuration tasks.

Configuration prerequisites

Configure the link layer protocol, and IP addresses for interfaces so that neighboring nodes can reach

each other.

Configuration procedure

To enable OSPF on a router, 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 is used. H3C
recommends you to specify a router ID when you create the OSPF process.

OSPF can run multiple processes and supports VPNs:

When a router runs multiple OSPF processes, you must specify a router ID for each process, which
takes effect locally and has no influence on packet exchange between routers. Two routers having
different process IDs can exchange packets.

OSPF support for VPNs enables an OSPF process to run in a specified VPN.

To enable OSPF:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure a global router
ID.

router id router-id

Optional.
Not configured by default.
If no global router ID is configured, the
highest loopback interface IP address, if

any, is used as the router ID. If no loopback

interface IP address is available, the highest
physical interface IP address is used,

regardless of the interface status.