Verifying ospf configuration, Verifying ospf configuration 98 – Nortel Networks WEB OS 212777 User Manual

Page 98

Advertising
background image

Web OS 10.0 Application Guide

98

n

Chapter 4: OSPF

212777-A, February 2002

9.

Configure host routes.

Host routes are configured just like those on Web switch 1, except their costs are reversed.
Since virtual server 10.10.10.2 is preferred for Web switch 2, its host route has been given a
low cost. Because virtual server 10.10.10.1 is used as a backup in case Web switch 1 fails, its
host route has been given a high cost.

10.

Apply and save the configuration changes.

Verifying OSPF Configuration

Use the following commands to verify the OSPF configuration on your switch:

n

/info/ospf/general

n

/info/ospf/nbr

n

/info/ospf/dbase/dbsum

n

/info/ospf/route

n

/stats/route

Refer to the Web OS 10.0 Command Reference for information on the above commands.

>> OSPF Interface 2 # ../host 1

(Select menu for host route 1)

>> OSPF Host Entry 1 # addr 10.10.10.1

(Set IP address same as virtual server 1)

>> OSPF Host Entry 1 # aindex 0

(Inject host route into backbone area)

>> OSPF Host Entry 1 # cost 100

(Set high cost for use as backup path)

>> OSPF Host Entry 1 # enable

(Enable the host route)

>> OSPF Host Entry 1 # ../host 2

(Select menu for host route 2)

>> OSPF Host Entry 2 # addr 10.10.10.2

(Set IP address same as virtual server 2)

>> OSPF Host Entry 2 # aindex 0

(Inject host route into backbone area)

>> OSPF Host Entry 2 # cost 1

(Set low cost for primary path)

>> OSPF Host Entry 2 # enable

(Enable the host route)

>> OSPF Host Entry 2 # apply

(Global command to apply all changes)

>> OSPF Host Entry 2 # save

(Global command to save all changes)

Advertising