Optional: assigning loopback addresses to an area – HP 3500YL User Manual

Page 245

Advertising
background image

IP Routing Features

Configuring OSPF

The operator could use the following commands to configure the above
assignments:

ProCurve(ospf)# vlan 10

ProCurve(vlan-10)# ip ospf 10.10.10.1 area 5

ProCurve(vlan-10)# ip ospf 10.10.11.1 area 5

ProCurve(vlan-10)# ip ospf 10.10.12.1 area 6

6. Optional: Assigning Loopback Addresses to an Area

After you define the OSPF areas to which the switch belongs, you can assign
a user-defined loopback address to an OSPF area. A loopback interface is a
virtual interface configured with an IP address and is always reachable as long
as at least one of the IP interfaces on the switch is operational. Because the
loopback interface is always up, you ensure that the switch's router ID remains
constant and that an OSPF network is protected from changes caused by
downed interfaces.

For more information about how to configure a loopback interface, refer to
“Configuring a Loopback Interface” in the chapter titled, “Configuring IP
Addressing”, in the Management and Configuration Guide for your routing
switch.

Syntax: interface loopback <0-7> ip ospf < lo-ip-address > area < ospf-area-id >

Executed in a specific loopback context to assign a loopback
interface to the specified OSPF area. Requires that the
specified loopback interface is already configured with an IP
address on the switch.
loopback interface <0-7>: Defines the loopback context for
executing the area assignment

.

ip ospf < lo-ip-address >: Specifies the loopback interface by its
IP address to assign to a configured OSPF area

.

area < ospf-area-id >: Identifies the OSPF area to which the
loopback interface is assigned. You can enter a value for the
OSPF area in the format of an IP address or a number in the
range 0 to 4,294,967,295

.

Example:

To assign user-defined loopback interface 3 on the switch to area

192.5.0.0 and include the loopback IP address 172.16.112.2 in the OSPF broad­
cast area, enter the following commands:

ProCurve(config)# interface loopback 3

ProCurve(lo-3)# ip ospf 172.16.112.2 area 192.5.0.0

5-71

Advertising