Alteon Application Switch Operating System Application Guide
Open Shortest Path First (OSPF)
162
Document
ID:
RDWR-ALOS-V2900_AG1302
Note:
When a service goes down, the corresponding host route is removed from advertising.
13. Apply and save the configuration changes.
Configuring Host Routes on Alteon 2
1. Configure basic SLB parameters. Alteon 2 is connected to two real servers. Each real server is
given an IP address and is placed in the same real server group.
2. Configure the virtual server parameters. The same virtual servers are configured as on Alteon 1.
>> OSPF Interface 2 # /cfg/l3/ospf/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 1
(Set low cost for preferred path)
>> OSPF Host Entry 1 # enable
(Enable the host route)
>> OSPF Host Entry 1 # /cfg/l3/ospf/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 100
(Set high cost for use as backup 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)
>> # /cfg/slb/real 1
(Select menu for real server 1)
>> Real server 1 # rip 100.100.100.27
(Set the IP address for real server 1)
>> Real server 1 # enable
(Enable the real server)
>> Real server 1 # /cfg/slb/real 2
(Select menu for real server 2)
>> Real server 2 # rip 100.100.100.28
(Set the IP address for real server 2)
>> Real server 1 # rip 100.100.100.27
(Enable the real server)
>> Real server 2 # /cfg/slb/group 1
(Select menu for real server group 1)
>> Real server 1 # add 1
(Add real server 1 to group)
>> Real server group 1 # add 2
(Add real server 2 to group)
>> Real server group 1 # enable
(Enable the group)
>> Real server 1 # /cfg/slb/on
(Turn SLB on)
>> Layer 4 # /cfg/slb/virt 1
(Select menu for virtual server 1)
>> Virtual server 1 # vip 10.10.10.1
(Set the IP address for virtual server 1)
>> Virtual server 1 # enable
(Enable the virtual server)