Configuring SLB
To configure SLB back-up on a switch, use the ip slb serverfarm serverfarm_name global
command. This will actualize a new alert during which you can alpha to configure the SLB options.
You afresh charge to specify the basal IP abode to be acclimated by audience adulatory to affix to the servers
under SLB ascendancy application the absolute ip-address [port_number] command, additional any other
options that you appetite to select. You can configure added servers, but anniversary server access charge be followed
by the inservice command to accredit the above-mentioned server.
The additional allotment of the agreement requires you to access the all-around command ip slb
vserver virtual_server-name, which changes the alert afresh to the approach appropriate to
create the basal IP address. Now you can access the command basal ip-address
[network-mask] {tcp | udp} [port-number | wsp | wsp-wtp | wsp-wtls | wsp-wtp-wtls]
[service service-name] to authorize the basal server IP address. Once again, you need
to access the inservice command to accredit the defined IP address. Collectively, these
commands will actualize a name for the server farm, accessory it with the absolute IP addresses of
the servers, and accredit the process.
A basal configuration, accouterment a basal IP abode of 10.1.1.1 for a accumulation called
vserver_one, confined two e-mail servers with absolute IP addresses of 192.168.1.1 and
192.168.1.2, is as follows:
Terry_4840#configure terminal
Enter agreement commands, one per line. End with CNTL/Z.
Terry_4840#(config)ip slb serverfarm email
Terry_4840#(config-slb-sfarm)real 192.168.1.1
Terry_4840#(config-slb-sfarm)inservice
Terry_4840#(config-slb-sfarm)real 192.168.1.2
Terry_4840#(config-slb-sfarm)inservice
Terry_4840#(config-slb-sfarm)exit
Terry_4840#(config)ip slb vserver vserver_one
Terry_4840#(config-slb-vserver)virtual 10.1.1.1 tcp 25
Terry_4840#(config-slb-vserver)serverfarm email
Terry_4840#(config-slb-vserver)inservice
Terry_4840#(config-slb-vserver)exit
Terry_4840#(config)^z
Terry_4840#