![Radware Alteon Application Manual Download Page 229](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134229.webp)
Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
229
5. Define Layer 7 content switching rules in the HTTP virtual service to match each cookie value
and redirect to the respective server group:
>> Main# /cfg/slb/virt 10/service http
------------------------------------------------------------
[Virtual Server 10 80 http Service Menu]
name - Set descriptive virtual service name
http - HTTP Load Balancing Menu
cntrules - Content Based Services Rules Menu
action - Set action type of this service
group - Set real server group number
redirect - Set application redirection location
rport - Set real port
hname - Set hostname
cont - Set BW contract for this virtual service
pbind - Set persistent binding type
thash - Set hash parameter
tmout - Set minutes inactive connection remains open
ptmout - Set in minutes for inactive persistent connection
dbind - Enable/disable/forceproxy delayed binding
nonat - Enable/disable only substituting MAC addresses
direct - Enable/disable direct access mode
mirror - Enable/disable session mirroring
epip - Enable/disable pip selection based on egress port/vlan
winsize0 - Enable/disable using window size zero in SYN+ACK
ckrebind - Enable/disable server rebalancing when cookie is absent
del - Delete virtual service
cur - Display current virtual service configuration
>> Virtual Server 10 80 http Service# cntrules
Enter Content Based Services Rule number (1-12800): 10
------------------------------------------------------------
[HTTP Content Rule 10 Menu]
name - Set descriptive content rule name
cntclss - Set content class for this rule
action - Set action type for this rule
group - Set real server group number for this rule
redirect - Set application redirection location for this rule
copy - Copy rule
ena - Enable rule
dis - Disable rule
del - Delete rule
cur - Display current rule configuration
>> HTTP Content Rule 10# name
Current descriptive content rule name:
Enter new descriptive content rule name: gold users
>> HTTP Content Rule 10# cntclss
Current content class:
Enter new content class or none: cookie-gold
For content class updates use /cfg/slb/layer7/slb
>> HTTP Content Rule 10# action
Current action type: group
Enter new action type [group|redirect|discard] : group