ProLiant BL p-Class GbE2 Interconnect Switch Application Guide
OSPF 130
Configuring OSPF for a virtual link on Switch B
1. Configure IP interfaces on each network that will be attached to OSPF areas.
Two IP interfaces are needed on Switch B: one for the transit area network on 10.10.12.0/24 and one for
the stub area network on 10.10.24.0/24.
>> # /cfg/l3/if 1 (Select menu for IP interface 1)
>> IP Interface 1 # addr 10.10.12.2 (Set IP address
on transit area network)
>> IP Interface 1 # mask 255.255.255.0 (Set IP mask
on transit area 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.24.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)
2. Configure the router ID.
A router ID is required when configuring virtual links. This router ID should be the same one specified as the
target virtual neighbor (nbr) on Switch A.
>> IP Interface 2 # /cfg/l3/rtrid 10.10.14.1(Set static router ID)
3. Enable OSPF.
>> IP# /cfg/l3/ospf/on
4. Define the backbone.
This version of GbE2 software requires that a backbone index be configured on the non-backbone end of
the virtual link as follows:
>> Open Shortest Path First # aindex 0(Select the menu for area index 0)
>> OSPF Area (index) 0 # areaid 0.0.0.0(Set the area ID for OSPF area 0)
>> OSPF Area (index) 0 # enable (Enable the area)
5. Define the transit 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 transit (Define area as transit type)
>> OSPF Area (index) 1 # enable (Enable the area)
6. Define the stub area.
>> OSPF Area (index) 1 # ../aindex 2 (Select the menu for area index 2)
>> OSPF Area (index) 2 # areaid 0.0.0.2(Set the area ID for OSPF area 2)
>> OSPF Area (index) 2 # type stub (Define area as stub type)
>> OSPF Area (index) 2 # enable (Enable the area)
7. Attach the network interface to the backbone.
>> OSPF Area (index) 2 # ../if 1 (Select OSPF menu for IP interface 1)
>> OSPF Interface 1 # aindex 1 (Attach network to transit area index)
>> OSPF Interface 1 # enable (Enable the transit area interface)
8. Attach the network interface to the transit area.
>> OSPF Interface 1 # ../if 2 (Select OSPF menu for IP interface 2)
>> OSPF Interface 2 # aindex 2 (Attach network to stub area index)
>> OSPF Interface 2 # enable (Enable the stub area interface)
9. Configure the virtual link.
The nbr router ID configured in this step must be the same as the router ID that was configured for Switch A
in step 2.
>> OSPF Interface 2 # ../virt 1 (Specify a virtual link number)
>> OSPF Virtual Link 1 # aindex 1 (Specify the transit area
for the virtual link)
>> OSPF Virtual Link 1 # nbr 10.10.10.1(Specify the router ID
of the recipient)
>> OSPF Virtual Link 1 # enable (Enable the virtual link)
10. Apply and save the configuration changes.
>> OSPF Interface 2 # apply (Apply all changes)
>> OSPF Interface 2 # save (Save all changes)