Document ID: 12640
Updated: Jan 31, 2006
Contents
Introduction
The Cisco Content Services Switch (CSS) series can support smart proxy and transparent caching. The Cisco Content Services Switch can also support Web acceleration through intelligent reverse-proxy caching. There are several balancing methods available, which depend on how you like to distribute data over the caches (for example, whole URL, URL string, whole domain name, domain string, and so on). The Cisco Content Services Switch automatically builds a list of known cacheable objects. It is possible for the list to be modified, but much of the work is reduced.
This document provides a sample configuration for proxy caching.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
The information presented in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command before you use it.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Configure
In this section, you are presented with the information to configure the features described in this document.
Network Diagram
This document uses the network setup shown in the diagram here:
Configuration
The proxy clients come in on the proxy port (8080), and are mapped to the cache server on port 80 in this configuration. Generic servers can be used to emulate the proxy servers. The Web servers can be replaced with cache servers if they are available.
| CSS |
|---|
!Generated MAY 19 16:03:14
!Active version: ap0310029s
configure
!************************** CIRCUIT **************************
circuit VLAN1
ip address 10.1.1.254 255.255.255.0
!************************** SERVICE **************************
service Origin1
ip address 10.1.1.1
keepalive frequency 60
port 80
active
service PCacheServer1
ip address 10.1.1.2
keepalive frequency 60
type proxy-cache
port 80
active
service PCacheServer2
ip address 10.1.1.3
keepalive frequency 60
type proxy-cache
port 80
active
!*************************** OWNER ***************************
owner foo.com
content L5_Proxy
vip address 10.1.1.100
protocol tcp
port 8080
add service PCacheServer1
add service PCacheServer2
url "/*"
balance urlhash
active
|
Verify
This section provides information you can use to confirm your configuration functions properly.
Since a real cache server is not used for the proxy cache test, append :8080 to the URL. For example, http://10.1.1.100/1.html:8080.
Troubleshoot
There is currently no specific information available on how to troubleshoot this configuration.
Related Information
Open a Support Case
(Requires a Cisco Service Contract.)
Related Cisco Support Community Discussions
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.
