OSPF

Follow this procedure to configure OSPF support as shown in the figure.1.Configure IP interfaces on each network that will be attached to OSPF areas.

2.In this example, two IP interfaces are needed: one for the backbone network on 10.10.7.0/24 and one for the stub area network on 10.10.12.0/24.

>># /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 # enable(Enable IP interface 1)

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

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

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

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

3.Enable OSPF.

>>IP Interface 2 # /cfg/l3/ospf/on(Enable OSPF on the switch)

4.Define the backbone.5.The backbone is always configured as a transit area using areaid 0.0.0.0.

>>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)

6.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)

7.Attach the network interface to the backbone.

>>OSPF Area 1 # ../if 1(Select OSPF menu for IP interface 1)

>>OSPF Interface 1 # aindex 0(Attach network to backbone index)

>>OSPF Interface 1 # enable(Enable the backbone interface)

8.Attach the network interface to the stub area.

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

>>OSPF Interface 2 # aindex 1(Attach network to stub area index)

>>OSPF Interface 2 # enable(Enable the stub area interface)

9.Apply and save the configuration changes.

>>OSPF Interface 2 # apply (Global command to apply all changes)

>> OSPF Interface 2 # save (Global command to save all changes)

Example 1: Simple OSPF domain (BBI example)

1.Configure IP interfaces on each network that will be attached to OSPF areas:IF 1IP address = 10.10.7.1Subnet mask = 255.255.255.0

IF 2

IP address = 10.10.12.1 Subnet mask = 255.255.255.0

a.Click the Configure context button.

142