HP 3500YL User Manual
Page 247

IP Routing Features
Configuring OSPF
ProCurve(config)# interface loopback 1
ProCurve(lo-1)# ip address 14.2.3.4
ProCurve(lo-1)# ip address 15.2.3.4
ProCurve(lo-1)# exit
ProCurve(config)# interface loopback 2
ProCurve(lo-2)# ip address 13.3.4.5
ProCurve(lo-2)# ip ospf 15.2.3.4 area 0.0.0.111
ProCurve(lo-2)# exit
Assigns the IP address of
loopback interface 2 to
OSPF area 111.
Figure 5-27. Examples of Assigning Loopback IP Addresses to OSPF Areas
To verify the OSPF redistribution of loopback interfaces, enter the
show ip
route command from any context level to display IP route table entries.
Note that in the following example, a loopback address assigned to an area is
displayed as an
ospf intra-area (internal) route to its neighbor; a loopback
address not assigned to a specific area is displayed as an
ospf external route:
ProCurve(config)# show ip route
IP Route Entries
Destination
20.0.15.1/32
20.0.16.2/32
-----------
Gateway
25.0.67.131
25.0.67.131
-------
VLAN
----
25
25
Type Sub-Type Metric
ospf external2 10
ospf intra-area 2
---- -------- ------
Dist
110
110
----
Figure 5-28. Example of Verifying OSPF Redistribution of Loopback Interfaces
7. Optional: Configure for External Route Redistribution in
an OSPF Domain
Configuring route redistribution for OSPF establishes the routing switch as
an ASBR (residing in a backbone, normal, or NSSA) for importing and trans
lating different protocol routes from other IGP domains into an OSPF domain.
The switches covered by this guide support redistribution for static routes,
RIP routes, and directly connected routes from RIP domains into OSPF
domains. When you configure redistribution for OSPF, you can specify that
static, connected, or RIP routes external to the OSPF domain are imported as
OSPF routes. (Likewise, RIP redistribution supports the import of static,
5-73