R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

67
If you specify no router ID when creating the OSPF process, the global router ID is used. HP
recommends specifying a router ID when you create the OSPF process.
OSPF can run multiple processes and supports VPNs.
To run multiple OSPF processes, you must specify an ID for each process. The process IDs take effect
locally and has no influence on packet exchange between routers. Two routers with different
process IDs can exchange packets.
VPN support enables an OSPF process to run in a specified VPN. For more information about VPN,
see MPLS Configuration Guide.
Configuration procedure
To enable OSPF:
Ste
p
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.
3. Enable an OSPF process
and enter OSPF view.
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
Not enabled by default.
4. Configure a description for
the OSPF process.
description description
Optional.
Not configured by default.
5. Configure an OSPF area
and enter OSPF area view.
area area-id
Not configured by default.
6. Configure a description for
the area.
description description
Optional.
Not configured by default.
7. Specify a network to enable
the interface attached to the
network to run the OSPF
process in the area.
network ip-address
wildcard-mask
Not configured by default.
A network segment can belong to only one
area.
Configuring OSPF areas
After you split an OSPF AS into multiple areas, you can configure some areas as stub areas or NSSA
areas as needed.
If no connectivity can be achieved between the backbone and a non-backbone area, or within the
backbone itself, configure virtual links to solve it.