Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching 405
212777-A, February 2002
Browser-Based Web Cache Redirection
Browser-based Web cache redirection uses the User-agent: header. To configure browser-
based WCR, perform the following procedur e.
1. Before you can configure header-based WCR, ensure that the switch is already config-
ured for basic SLB with the following tasks:
nAssign an IP address to each of the real servers in the server pool.
nDefine an IP interface on the switch.
nDefine each real server.
nAssign servers to real server groups.
nDefine virtual servers and services.
2. Turn on URL parsing for the filter.
3. Enable header load balancing for User-Agent: header.
4. Define the host names.
5. Apply and save your configuration changes.
6. Identify the string ID numbers with this command.
Each defined string has an ID number.
Number of entries: four
>> # /cfg/slb/filt 1/adv/urlp enable
>> # /cfg/slb/layer7/redir/header ena useragent
>> # /cfg/slb/layer7/slb/add "Mozilla"
>> Server Load Balance Resource# add "Internet Explorer"
>> Server Load Balance Resource# add "Netscape"
>> # /cfg/slb/layer7/slb/cur
ID SLB String
1any
2Mozilla
3Internet Explorer
4Netscape