![Radware Alteon Application Manual Download Page 826](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134826.webp)
Alteon Application Switch Operating System Application Guide
Content-Intelligent Server Load Balancing Not Using Layer 7 Content Switching Rules
826
Document
ID:
RDWR-ALOS-V2900_AG1302
1. Identify the ID numbers of the defined strings. The strings in bold are used in this example.
2. Configure Filter 6. The filter intercepts string 7, 8, and 9 and then redirects them based on
strings 10, 17, and 18 information. The $HOST_URL is replaced with the incoming request from
the HOST and URL strings. The $HOST is replaced with the incoming request from HOST string.
The $URL is replaced with the incoming request from the URL string.
>> # /cfg/slb/layer7/slb/cur
Number of entries: 14
1: 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/filt 6
>> Filter 6 # dip 10.46.6.231
Current destination address: any
New pending destination address: 10.46.6.231
>> Filter 6 # smask 255.255.255.255
Current source mask: 0.0.0.0
New pending source mask: 255.255.255.255
>> Filter 6 # proto tcp
Enter protocol or any: udp
Pending new protocol: tcp
>> Filter 6 # dport http
Current destination port or range: any
Pending new destination port or range: http
>> Filter 6 # action redir
Current action: allow
Pending new action: redir
>> Filter 6 # /cfg/slb/filt/adv/layer7
>> Layer 7 Advanced# addrd
Enter filtering string ID (1-1024) to redirect from: 7
Enter filtering string ID (2-1024) to redirect to: 10
>> Layer 7 Advanced# addrd
Enter filtering string ID (1-1024) to redirect from: 8
Enter filtering string ID (2-1024) to redirect to: 17
>> Layer 7 Advanced# addrd
Enter filtering string ID (1-1024) to redirect from: 9
Enter filtering string ID (2-1024) to redirect to: 18