HP 445946-001 manual Configuring Ospf for a virtual link on Switch B, Configure the virtual link

Models: 445946-001

1 198
Download 198 pages 26.86 Kb
Page 151
Image 151

OSPF

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

9.Attach the network interface to the transit 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 transit area index) (Enable the transit area interface)

10.

Configure the virtual link.

 

 

 

11.

The nbr router ID configured in this step must be the same as the router ID that will be configured for

 

Switch B 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.14.1

(Specify the router ID

 

 

 

 

 

of the recipient)

 

 

 

 

>> OSPF Virtual Link 1 # enable

(Enable the virtual link)

 

 

12.

Apply and save the configuration changes

 

 

 

 

 

>> OSPF Interface 2 # apply

(Apply all changes)

 

 

 

 

>> OSPF Interface 2 # save

(Save all changes)

 

Configuring OSPF for a virtual link on Switch B

1.Configure IP interfaces on each network that will be attached to OSPF areas.

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

3.Configure the router ID.

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

5.Enable OSPF.

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

6.Define the backbone.

7.This version of switch 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)

151

Page 151
Image 151
HP 445946-001 manual Configuring Ospf for a virtual link on Switch B, Attach the network interface to the transit area