R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
282
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. HP
recommends specifying 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 need to 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.
Follow these steps to enable OSPF:
To do… Use the command…
Remarks
Enter system view system-view
—
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.
Enable an OSPF process and
enter its view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
Required
Not enabled by default.
Configure a description for the
OSPF process
description description
Optional
Not configured by default.
Configure an OSPF area and
enter OSPF area view
area area-id
Required
Not configured by default.
Configure a description for the
area
description description
Optional
Not configured by default.
Specify a network to enable
OSPF on the interface attached
to the network
network ip-address wildcard-mask
Required
Not configured by default.
NOTE:
• A network segment can only belong to one area.
• HP recommends configuring a description for each OSPF process to help identify purposes of processes
and for ease of management and memorization.
• HP recommends configuring a description for each area to help identify purposes of areas and for ease
of management and memorization.