Alteon Application Switch Operating System Application Guide
Bandwidth Management
Document ID: RDWR-ALOS-V2900_AG1302
787
Figure 133: Cookie-Based Bandwidth Management
Note:
Cookie-based BWM does not apply to cookie-based persistency or cookie passive/active
mode applications.
In this example, you assign bandwidth based on cookies. First, configure cookie-based SLB, which is
very similar to URL-based load balancing. Any cookie containing the specified string is redirected to
the assigned server.
A
In this scenario, the Web site has a single virtual server IP address and supports multiple classes
of users. Turn on cookie parsing for the service on the virtual server.
1. Define one or more load-balancing strings.
For example:
>> # /cfg/slb/virt 1/service 80
>> Virtual Server 1 http Service# http/httpslb
Application: urlslb|host|cookie|browser|urlhash|headerhash|version|others|none
Select Application: cookie
Operation: and|or|none
Select Operation: ena
Enter Cookie Name:
Enter the starting point of the cookie value [1-64]: 1
Enter the number of bytes to be extract [1-64]: 8
Look for cookie in URL [e|d]:
>> # /cfg/slb/layer7/slb/addstr <l7lkup|pattern> <SLB string>
>> # /cfg/slb/layer7/slb/addstr 171kup “Business”
# add 171kup “First”
# add 171kup “Coach”