9 configuring virtual links – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 107

Advertising
background image

CanogaOS Configuration Guide

17-8

DUT# configure terminal

Enter the Configure mode.

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unque positive
integer identifying the routing process.

DUT(config-router)# network 10.10.9.0/24 area 0

DUT(config-router)# network 10.10.10.0/24 area 0

DUT (config-router)# network 10.10.12.0/24 area 0

Define interfaces on which OSPF runs and associate the
area ID (0) with the interface (area ID 0 specifies the
backbone area).


R2

DUT(config)# interface eth-0-2

Specify the interface (eth-0-2)to be configured.

DUT(config-if)# ip ospf cost 100

Set the OSPF cost of this link to 100.

DUT(config-if)# exit

Exit the Interface mode and return to Configure mode.

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.

DUT(config-router)# network 10.10.10.0/24 area 0

DUT(config-router)# network 10.10.11.0/24 area 0

Define interfaces on which OSPF runs and associate the
area ID (0) with the interface.


R3

DUT(config)# interface eth-0-2

Specify the interface (eth-0-2) to be configured.

DUT(config-if)# ip ospf cost 150

Set the OSPF cost of this link to 100.

DUT(config-if)# exit

Exit the Interface mode and return to Configure mode.

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.

DUT(config-router)# network 10.10.12.0/24 area 0

DUT(config-router)# network 10.10.13.0/24 area 0

Define interfaces on which OSPF runs and associate the
area ID (0) with the interface.


R4

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.

DUT(config-router)# network 10.10.11.0/24 area 0

DUT(config-router)# network 10.10.13.0/24 area 0

DUT(config-router)# network 10.10.14.0/24 area 0

Define interfaces on which OSPF runs and associate the
area ID (0) with the interface.


Validation Commands
show ip ospf route

17.9 Configuring Virtual Links

Virtual links are used to connect a temporarily disjointed non-backbone area to the
backbone area, or to repair a noncontiguous backbone area. In this example, the ABR

Advertising