OSPF

Figure 23 Summarizing routes

NOTE: You can specify a range of addresses to prevent advertising by using the hide option. In this example, routes in the range 36.128.200.0 through 36.128.200.255 are kept private.

Follow this procedure to configure OSPF support on Switch A and Switch B, as shown in the figure.

1.Configure IP interfaces for each network which will be attached to OSPF areas.

>># /cfg/l3/if 1(Select menu for IP interface 1)

>>IP Interface 1 # addr 10.10.7.1(Set IP address on backbone network)

>>IP Interface 1 # mask 255.255.255.0(Set IP mask on backbone network)

>>IP Interface 1 # ena(Enable IP interface 1)

>>IP Interface 1 # ../if 2(Select menu for IP interface 2)

>>IP Interface 2 # addr 36.128.192.1(Set IP address on stub area network)

>>IP Interface 2 # mask 255.255.192.0(Set IP mask on stub area network)

>>IP Interface 2 # ena(Enable IP interface 2)

2.Enable OSPF.

>>IP Interface 2 # /cfg/l3/ospf/on

3.Define the backbone.

>>Open Shortest Path First # aindex 0 (Select menu for area index 0)

>>OSPF Area (index) 0 # areaid 0.0.0.0(Set the ID for backbone area 0)

>>OSPF Area (index) 0 # type transit (Define backbone as transit type)

>> OSPF Area (index) 0 # enable

(Enable the area)

4.Define the stub area.

>> OSPF Area (index) 0 # ../aindex 1

(Select menu for area index 1)

>>OSPF Area (index) 1 # areaid 0.0.0.1 (Set the area ID for OSPF area 1)

>>

OSPF

Area

(index)

1

#

type stub

(Define

area as stub type)

>>

OSPF

Area

(index)

1

#

enable

(Enable

the area)

5.Attach the network interface to the backbone.

>>OSPF Area (index) 1 # ../if 1

>>OSPF Interface 1 # aindex 0

>>OSPF Interface 1 # enable

(Select OSPF menu for IP interface 1) (Attach network to backbone index) (Enable the backbone interface)

6.Attach the network interface to the stub area.

>>OSPF Interface 1 # ../if 2

>>OSPF Interface 2 # aindex 1

>>OSPF Interface 2 # enable

(Select OSPF menu for IP interface 2) (Attach network to stub area index) (Enable the stub area interface)

153