Technical data
ServerIron ADX Advanced Server Load Balancing Guide 37
53-1002435-03
Configuring transparent cache switching
2
• A cache group is defined in terms of input ports to the ServerIron ADX. To give a client access
to a group of cache servers, the input port connecting the client to the ServerIron ADX must be
in the cache group that contains the cache servers. If you plan to have only one cache group,
you do not need to add the input ports to the cache group because all ports are members of
cache group 1 by default.
• If you do not want a specific port to support TCS (for example, you want to redirect HTTP traffic
for that port directly to the Internet instead), then you need to remove that port from default
cache group 1.
• You must apply an IP policy to redirect Internet traffic to the cache servers. You can apply a
global or local policy. A global policy takes effect on all ports as soon as you configure the
policy. A local policy does not take effect until it is assigned to an interface. If you assign a local
policy, assign it to the output port connected to the Internet. The policy sends all HTTP traffic
addressed as output traffic to the port to the CPU instead for processing and forwarding.
• Although TCS can be concurrently be configured for cache servers with either IPv4 or IPv6
addresses, IPv4 traffic can only be directed to an IPv4 cache server and IPv6 traffic can only
be directed to an IPv6 cache server.
Defining a cache server
Once you have enabled TCS on the ServerIron ADX, assign a name and IP address to each cache
server. Once you have assigned the name and IP address, you can reference the server in CLI
commands by either the server’s name or its IP address.
To assign the names and IP addresses to the cache servers shown in Figure 9 on page 30, enter
commands such as the following:
For IPv4
ServerIronADX(config)# server cache-name server1 207.95.5.11
ServerIronADX(config-rs-server1)# server cache-name server2 207.95.5.129
ServerIronADX(config-rs-server2)# end
ServerIronADX# write memory
For IPv6
ServerIronADX(config)# server cache-name server3 2001:db8::30:1
ServerIronADX(config-rs-server3)# server cache-name server4 2001:db8::30:2
ServerIronADX(config-rs-server4)# end
ServerIronADX# write memory
Syntax: [no] server cache-name <text> { <ipv4-addr> | <ipv6-addr> }
The <text> variable specifies a name for the server. It can be any alphanumeric string of up to 42
characters.
The <ipv4-addr> variable specifies the IPv4 address of the web cache server.
The <ipv6-addr> variable specifies the IPv6 address of the web cache server.
Identify application ports for caching
For each defined cache server you must specify the ports whose traffic you want to cache. The
following example configures the previously named “server1” cache server to cache traffic from the
port: “http”, “ssl” and port number “8080”.










