Alteon Application Switch Operating System Application Guide
Content-Intelligent Server Load Balancing Not Using Layer 7 Content
Document ID: RDWR-ALOS-V2900_AG1302
825
3. Configure Filter 5.
4. Apply and save the configuration.
Example
MIME Type Header-Based Redirection
In this example, Alteon receives a URL request from a mobile client and examines the Multipurpose
Internet Mail Extensions (MIME) type header in the URL. If the URL contains a pre-defined MIME
type, text, or URL, Alteon replaces the URL. Use the string index numbers to configure a redirection
map for the filter.
•
Filter 6—The mobile client executes a request for a URL http://dev.example.com/java/
toggle.jad. If the MIME type is text/vnd.foo.j2me.app-descriptor, or if the URL contains jad
or jar as an extension, it will replace the URL with:
http://mobile.example.com/4g/w?url=dev.example.com/nava/toggle.jad.
>> /cfg/slb/filt 5
>> Filter 5 # dip 10.46.6.231
Current destination address: any
New pending destination address: 10.46.6.231
>> Filter 5 # smask 255.255.255.255
Current source mask: 0.0.0.0
New pending source mask: 255.255.255.255
>> Filter 5 # proto tcp
Enter protocol or any: udp
Pending new protocol: tcp
>> Filter 5 # dport http
Current destination port or range: any
Pending new destination port or range: http
>> Filter 5 # action redir
Current action: allow
Pending new action: redir
>> Filter 5 # /cfg/slb/filt/adv/layer7
>> Layer 7 Advanced# addrd
Enter filtering string ID (1-1024) to redirect from: 11
Enter filtering string ID (2-1024) to redirect to: 13