HP 3500YL User Manual

Page 259

Advertising
background image

IP Routing Features

Configuring OSPF

Examples of Changing Per-Interface Settings.

Suppose that VLAN 30 is

multinetted, with two subnets in area 1 and one subnet in area 5:

vlan 30

ip ospf 10.10.30.1 area 0.0.0.1

ip ospf 10.10.31.1 area 0.0.0.1

ip ospf 10.10.32.1 area 0.0.0.5

If you wanted to quickly reconfigure per-interface OSPF settings for VLAN 30,
such as those listed below, you could use the commands shown in Figure 5-33.

Assign a cost of “5” to the two subnets in area 1 and a cost of “10” to the
subnet in area 5.

Assign a dead interval of 45 seconds to the subnets in area 1 and retain
the default setting (40 seconds) for the subnet in area 5.

ProCurve(vlan-30)# ip ospf dead-interval 45
ProCurve(vlan-30)# ip ospf 10.10.32.1 dead-interval 40

Returns the 10.10.32.0 subnet in VLAN 30
to a default dead interval of 40 seconds.

Configures a cost of “5” on all subnets
in VLAN 30.

Configures a cost of “10” on the
10.10.32.0 subnet in VLAN 30.

Configures a dead interval of 45 seconds
on all subnets in VLAN 30.

ProCurve(vlan-30)# ip ospf cost 5
ProCurve(vlan-30)# ip ospf 10.10.32.1 cost 10

Figure 5-33. Example of Reconfiguring Per-Interface Settings in a Multinetted VLAN

5-85

Advertising