Chapter 15: Web Hosting Configuration Guide

Creating the Cache Group

You can specify either a range of IP addresses or a list of up to four IP addresses to define the servers when the cache group is created. If you specify multiple servers, load balancing is based on the destination address of the request. If any cache server fails, traffic is redirected to the other active servers.

To create the cache group, enter the following command in Configure mode:

Create the cache group.

web-cache <cache-name>create server-list <server-list-name>range <ipaddr- range>list <ipaddr-list>

Specifying the Client(s) for the Cache Group (Optional)

You can explicitly specify the hosts whose HTTP requests are or are not redirected to the cache servers. If you do not explicitly specify these hosts, then all HTTP requests are redirected to the cache servers.

To specify the clients or non-clients for the cache group, enter the following commands in Configure mode:

Define hosts whose requests are

web-cache <cache-name>permit hosts range

redirected to cache servers.

<ipaddr-range>list<ipaddr-list>acl<acl-

 

name>

 

 

Define hosts whose requests are

web-cache <cache-name>deny hosts range

not redirected to cache servers.

<ipaddr-range>list<ipaddr-list>acl<acl-

 

name>

 

 

Redirecting HTTP Traffic on an Interface

To start the redirection of HTTP requests to the cache servers, you need to apply a caching policy to a specific outbound interface. This interface is typically an interface that connects to the Internet.

Note: By default, the SSR redirects HTTP requests on port 80. Secure HTTP (https) requests do not run on port 80, therefore these types of requests are not redirected by the SSR.

To redirect outbound HTTP traffic to the cache servers, enter the following command in Configure mode:

Apply caching policy to outbound interface.

web-cache <cache-name>apply interface <interface-name>

SmartSwitch Router User Reference Manual

241

Page 241
Image 241
Cabletron Systems SmartSwitch manual Creating the Cache Group, Specifying the Clients for the Cache Group Optional