beautypg.com

Excluding noncacheable sites, Excluding noncacheable sites 215 – Nortel Networks WEB OS 212777 User Manual

Page 215

background image

Web OS 10.0 Application Guide

Chapter 8: Application Redirection

n

215

212777-A, February 2002

Excluding Noncacheable Sites

Some Web sites provide content that is not well suited for redirection to cache servers. Such
sites might provide browser-based games or applications that keep real-time session informa-
tion or authenticate by client IP address.

To prevent such sites from being redirected to cache servers, create a filter which allows this
specific traffic to pass normally through the Web switch. This filter must have a higher prece-
dence (a lower filter number) than the application redirection filter.

For example, if you wished to prevent a popular Web-based game site on subnet 200.10.10.*
from being redirected, you could add the following to the previous example configuration:

>> # /cfg/slb/filt 1

(Select the menu for filter 1)

>> Filter 1# dip 200.10.10.0

(To the site’s destination IP address)

>> Filter 1# dmask 255.255.255.0

(For entire subnet range)

>> Filter 1# sip any

(From any source IP address)

>> Filter 1# proto tcp

(For TCP traffic)

>> Filter 1# dport http

(To an HTTP destination port)

>> Filter 1# sport any

(From any source port)

>> Filter 1# action allow

(Allow matching traffic to pass)

>> Filter 1# ena

(Enable the filter)

>> Filter 1# ../port 5

(Select SLB port 5)

>> SLB port 5# add 1

(Add the filter to port 5)

>> SLB port 5# ../port 6

(Select SLB port 6)

>> SLB port 6# add 1

(Add the filter to port 6)

>> SLB port 6# apply

(Apply configuration changes)

>> SLB port 6# save

(Save configuration changes)