General configuration steps for ospf, General configuration steps for ospf -59, General configuration steps for ospf -60 – HP 3500YL User Manual

Page 233

Advertising
background image

IP Routing Features

Configuring OSPF

General Configuration Steps for OSPF

To begin using OSPF on the routing switch, perform the steps outlined below:

1. In the global config context, use

ip routing to enable routing (page 5-62).

2. Execute

router ospf to place the routing switch in the ospf context and to

enable OSPF routing (page 5-62).

3. Change the OSPF RFC 1583 compliance, if needed. (Refer to “3. Changing

the RFC 1583 OSPF Compliance Setting” on page 5-63.)

4. Use

area to assign the areas to which the routing switch will be attached

(page 5-65).

5. Assign interfaces to the configured areas per-VLAN or per-subnet by

moving to each VLAN context and using one of the following commands:

ip ospf area < ospf-area-id > assigns all interfaces in the VLAN to the
same area. Use this option when there is only one IP address config­
ured on the VLAN or you want all subnets in the VLAN to belong to
the same OSPF area.

ip ospf < ip-address > area < ospf-area-id > assigns an individual subnet
to the specified area.

(Refer to page 5-69.)

6. Optional: Assign loopback interfaces to OSPF areas by using the

ip ospf

area command at the loopback interface configuration level.
(Refer to page 5-71.)

7. Optional: On each routing switch used as an ASBR in your OSPF domain,

configure redistribution to enable importing the routes you want to make
available in the domain.

i.

On an ASBR in a backbone, normal, or NSSA area where you want
to import external routes, configure redistribution filters to
define the external routes you do not want imported.

ii. Enable redistribution.

Refer to “7. Optional: Configure for External Route Redistribution in an
OSPF Domain” on page 5-73.

8. Optional: Configure ranges on ABRs to reduce inter-area route adver­

tising.

9. Optional: Use Administrative Distance to influence route choices.

10. Optional: Change OSPF trap generation.

11. Optional: Reconfigure default parameters in the interface context, if

needed. Includes

cost, dead-interval, hello-interval, priority, and others.

5-59

Advertising