54-19
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 54 Configuring ASLB
ASLB Configuration Example
The example in
Figure 54-4
shows how to do the following:
•
Load balance the HTTP connections in a round-robin sequence among servers 192.255.201.3
through 192.255.201.10.
•
Forward the connections to port 8001 to server 192.255.201.11.
•
Load balance the FTP connections to servers 192.255.201.3 through 192.255.201.8 in a
“leastconns” sequence (which is the default for the LocalDirector).
Figure 54-4
ASLB Configuration Example
The router configuration is as follows (MSM is used in this example):
!
interface Port-channel1.7
encapsulation isl 7
ip address 192.255.201.1 255.255.255.0
no ip redirects
no ip directed-broadcast
!
The Catalyst 6500 series switch configuration is as follows:
Console (enable)
show lda
Status:Committed
Virtual IP addresses:
Local Director Flow:192.255.201.55/www (TCP port 80)
Local Director Flow:192.255.201.55/ (TCP port 8001)
Local Director Flow:192.255.201.55/ftp (TCP port 21)
Router MAC:
00-d0-bc-e9-fb-47
LD MAC: 00-e0-b6-00-4b-04
LD Router Side:
---------------
Router and LD are on VLAN 7
LD is connected to switch port 5/7 on VLAN 7
5/6
5/7 5/5
5/n
5/n
5/n
Catalyst 6500
series switches
LocalDirector
Clients
Server pool
S1
S2
S3
S
VLAN 7
VLAN 5
28229