Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 136
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
44 ServerIron ADX Advanced Server Load Balancing Guide
53-1002435-01
Configuring TCS
2
Enabling TCS
When TCS is enabled, the feature detects web traffic addressed for output to the Internet and
redirects the traffic to the CPU, which processes the traffic and forwards it to the cache servers
instead. TCS can be defined on either a global or local basis as described:
globally – If TCS is enabled on a global basis, all ports redirect web traffic toward the cache
servers. Globally assigning TCS to all ports eliminates the need to individually configure ports
added in the future.
locally – If TCS is enabled on a local basis only web traffic that is outbound from a specified
ethernet port (or ports) will be directed toward the cache servers.
To enable TCS for HTTP traffic on all interfaces (globally) of the ServerIron ADX shown in Figure 9 on
page 34, enter a command such as the following.
NOTE
The command for enabling TCS is different if you are running a switch image or a router image on
the ServerIron ADX as shown.
When running a switch image
ServerIronADX(config)# ip policy 1 cache tcp 80 global
Syntax: ip policy <index> cache {tcp | udp} <portnum> { global | local }
When running a router image
ServerIronADX(config)# ip l4-policy 1 cache tcp 80 global
Syntax: ip l4-policy <index> cache {tcp | udp} <portnum> { global | local }
The <index> variable specifies the index value for the policy. This number can be any unused
number from 1 – 64. Thus, up to 64 IP policies can be defined on a ServerIron ADX. You can use
the show ip policy command to display the session policies that have been defined.
The <portnum> variable after TCP/UDP refers to the traffic which should be redirected to a cache
server.
Where the <portnum> variable is a non-wellknown-port
To enable caching for any traffic destined to a non-well-known port (>1024), do not include the
port number. Instead, configure a policy where the <portnum> variable is set to “0”. For
example, where you want to configure traffic to be redirected from port 8080 to a cache server,
the <portnum> variable will be set to “0” as shown in the following.
ServerIronADX(config)# ip policy 1 cache tcp 0 global
NOTE
In this configuration, the policy with a <portnum> variable of “0” only needs to be configured
once to support all non-well-known ports.
Where the global parameter is used, web traffic from all ports on the ServerIron ADX will be
redirected toward the cache servers.
Where the local parameter is used, only web traffic that is outbound from a configured ethernet
port will be directed to the cache servers. In this configuration, the ip policy command specifies
that TCS is enabled locally. You must then configure each port whose outbound traffic you want to
direct to the cache servers to use the previously configured ip policy.
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 135 136

Comments to this Manuals

No comments