Technical data

ServerIron ADX Advanced Server Load Balancing Guide 67
53-1002435-03
Policy-based caching
2
Configuring an ACL to bypass caching
You can configure a bypass filter to redirect traffic to the Internet instead of sending it to the cache
servers. Configure an access list using the existing access-list CLI if you want to designate it as the
bypass filter as follows.
ServerIronADX(config)# server cache-bypass 3
Syntax: server cache-bypass <acl-id> [ipv6]
The <acl-id>variable specifies the ID of the IPv4 or IPv6 ACL being used for bypass caching.
You must use the ipv6 parameter if the ACL being used for bypass caching is an IPv6 ACL.
The configured bypass caching ACL will be evaluated first. If traffic matches this ACL, this traffic will
be sent directly to the Internet.
NOTE
This bypass caching ACL is global in scope; that is, it will apply to all cache groups. It should be
configured as a “permit” ACL.
Summary of configuration constraints
You can configure the filters using the access-list command and associate the ID with a cache
group. Note that the filters in the acl-id will apply to all cache servers in the cache group. If you
do not want the ACL ID to apply to a particular server in the cache group, you must create
another cache group and move the server to this group.
If you do not configure a default cache group, then traffic that does not match any of the group
ACLs will be sent to the Internet.
When policy-based caching is enabled, you should not disable any cache groups. Disabling a
cache group could result in disruption of traffic. If you need to prevent traffic from being
serviced by a particular group, you should update the filter ACL associated with the group
accordingly instead of disabling the group.
When policy-based caching is enabled, you should not turn on spoofing for a subset of the
cache groups. You can either turn on spoofing for all the cache groups or turn it off for all of
them.
Show commands
The show cache-group command displays the ACL ID, if one is associated with the group and the hit
count for the associated policy number.
Syntax: show cache-group [cache-group number]
Debug commands
You can configure the following command to enable debugging for enhanced policy-based caching.
ServerIronADX(config)# server debug-policy-caching
Syntax: server debug-policy-caching