Alteon Application Switch Operating System Application Guide
Content-Intelligent Server Load Balancing Not Using Layer 7 Content Switching Rules
820
Document
ID:
RDWR-ALOS-V2900_AG1302
3. Use the same commands as
to configure the rest of the filter strings shown in
Load Balancing Configuration Basics, page 171
4. Identify the ID numbers of the defined strings.
5. Configure a port for client traffic. This configuration assumes client traffic enters Alteon on port
1. Enabled filtering on the client port.
The basic HTTP redirection configuration is now complete and can be used for each of the
redirection options described in the following sections.
Example
IP based HTTP Redirection
In this example, Alteon redirects Web pages requested from a mobile phone to a specific gateway
based on the client's IP address. A mobile phone is set to access its home page via the default
device gateway.
The following is the client phone configuration used for the example:
Enter HTTP header name: Host
(Define HTTP header name Host)
Enter SLB header value string: wap.yahoo.com
>> # /cfg/slb/layer7/slb/cur
Number of entries: 1
41: any, cont 256
2: HTTPHDR=Host:wap.example.com, cont 256
3: HTTPHDR=Host:wap.yahoo.com, cont 256
4: HTTPHDR=Host:wap.google.com, cont 256
5: HTTPHDR=Host:wap.p-example.com, cont 256
6: HTTPHDR=Host:10.168.224.227=/top, cont 256
7: jad, cont 256
8: jar, cont 256
9: HTTPHDR=Accept:text/vnd.foo.j2me.app-descriptor, cont 256
10: HTTPHDR=Host:mobile.example.com=/4g/w?url=$HOST_URL, cont 256
11: HTTPHDR=Host:any, cont 256
12: HTTPHDR=Host:any:90, cont 256
13: HTTPHDR=Host:any:8080, cont 256
14: HTTPHDR=X-Foo-ipaddress:10.168.100.* , cont 256
15: HTTPHDR=Host:www.abc.com, cont 256
16: HTTPHDR=Host:any:443, cont 256
17: HTTPHDR=Host:mobile.example.com=/4g/w?url=$HOST/nava/toggle.jad, nre, cont
1024
18: HTTPHDR=Host:mobile.example.com=/4g/w?url=dev.example.com/$URL, nre, cont
1024
>> /cfg/slb/port 1
(Select the SLB Port 1 menu)
>> SLB port 1# filt en
(Enable filtering on the port)
Current port 1 filtering: disabled
New port 1 filtering: enabled