Table Of Contents
Configuring Web Cache Services Using WCCP
Information About WCCP
Guidelines and Limitations
Licensing Requirements for WCCP
Enabling WCCP Redirection
WCCP Monitoring Commands
Feature History for WCCP
Configuring Web Cache Services Using WCCP
This chapter describes how to configure web caching services using WCCP, and includes the following sections:
•
Information About WCCP
•
Guidelines and Limitations
•
Licensing Requirements for WCCP
•
Enabling WCCP Redirection
•
WCCP Monitoring Commands
•
Feature History for WCCP
Information About WCCP
The purpose of web caching is to reduce latency and network traffic. Previously-accessed web pages are stored in a cache buffer, so if users need the page again, they can retrieve it from the cache instead of the web server.
WCCP specifies interactions between the adaptive security appliance and external web caches. The feature transparently redirects selected types of traffic to a group of web cache engines to optimize resource usage and lower response times. The adaptive security appliance only supports WCCP Version 2.
Using an adaptive security appliance as an intermediary eliminates the need for a separate router to do the WCCP redirection, because the adaptive security appliance redirects requests to cache engines. When the adaptive security appliance determines that a packet needs redirection, it skips TCP state tracking, TCP sequence number randomization, and NAT on these traffic flows.
Guidelines and Limitations
The following WCCPv2 features are supported for the adaptive security appliance:
•
Redirection of multiple TCP and UDP port-destined traffic.
•
Authentication for cache engines in a service group.
•
Multiple Cache Engines in a service group.
•
GRE encapsulation.
The following WCCPv2 features are not supported for the adaptive security appliance:
•
Multiple routers in a service group.
•
Multicast WCCP.
•
The Layer 2 redirect method.
•
WCCP source address spoofing.
•
WAAS devices.
WCCP Interaction With Other Features
In the adaptive security appliance implementation of WCCP, the protocol interacts with other configurable features according to the following:
•
Cut-through proxy will not work in combination with WCCP.
•
An ingress access list entry always takes higher priority over WCCP. For example, if an access list does not permit a client to communicate with a server, then traffic is not redirected to a cache engine. Both ingress interface access lists and egress interface access lists are applied.
•
TCP intercept, authorization, URL filtering, inspect engines, and IPS features are not applied to a redirected flow of traffic.
•
When a cache engine cannot service a request and a packet is returned, or when a cache miss happens on a cache engine and it requests data from a web server, then the contents of the traffic flow is subject to all the other configured features of the adaptive security appliance.
•
If you have two WCCP services and they use two different redirection ACLs that overlap and match the same packets (with a deny or a permit action), the packets behave according to the first service-group found and installed rules. The packets are not passed thorugh all service-groups.
Failover Guidelines
Supports Active/Active and Active/Standby failover. WCCP redirect tables are not replicated to standby units. After a failover, packets are not redirected until the tables are rebuilt. Sessions redirected before failover are probably reset by the web server.
Firewall Mode Guidelines
Supported in routed and transparent firewall modes.
Context Mode Guidelines
Supported in single mode and multiple context mode.
Licensing Requirements for WCCP
Table 10-1 shows the licensing requirements for WCCP.
Table 10-1 Licensing Requirements
Model
|
License Requirement
|
All models
|
Base License.
|
Enabling WCCP Redirection
WCCP redirection is supported only on the ingress of an interface. The only topology that the adaptive security appliance supports is when client and cache engine are behind the same interface of the adaptive security appliance and the cache engine can directly communicate with the client, without going through the adaptive security appliance.
The following configuration tasks assume you have already installed and configured the cache engines that you want to include in your network.
To configure WCCP redirection, perform the following steps:
|
Command
|
Purpose
|
Step 1
|
wccp {web-cache | service_number}
[redirect-list access_list] [group-list
access_list] [password password]
Example:
hostname (config)# wccp web-cache
|
Enables a WCCP service group and identifies the service to be redirected. (Optional) Also defines which cache engines can participate in the service group, and what traffic should be redirected to the cache engine.
The standard service is web-cache, which intercepts TCP port 80 (HTTP) traffic and redirects that traffic to the cache engines, but you can identify a service number (if desired) between 0 and 254. For example, to transparently redirect native FTP traffic to a cache engine, use WCCP service 60. You can enter this command multiple times for each service group that you want to enable.
The redirect-list access_list argument controls traffic that is redirected to this service group.
The group-list access_list argument determines which web cache IP addresses are allowed to participate in the service group.
The password password argument specifies MD5 authentication for messages that are received from the service group. Messages that are not accepted by the authentication are discarded.
|
Step 2
|
wccp interface interface_name {web-cache |
service_number} redirect in
Example:
hostname (config)# wccp interface inside
web-cache redirect in
|
Identifies an interface and enables WCCP redirection on the interface.
The standard service is web-cache, which intercepts TCP port 80 (HTTP) traffic and redirects that traffic to the cache engines, but you can identify a service number (if desired) between 0 and 254. For example, to transparently redirect native FTP traffic to a cache engine, use WCCP service 60. You can enter this command multiple times for each service group that you want to enable.
|
Examples
For example, to enable the standard web-cache service and redirect HTTP traffic that enters the inside interface to a web cache, enter the following commands:
hostname (config)#
wccp web-cache
hostname (config)#
wccp interface inside web-cache redirect in
WCCP Monitoring Commands
To monitor WCCP, enter one of the following commands:
Command
|
Purpose
|
show running-config wccp
|
Shows the current WCCP configuration.
|
show running-config wccp interface
|
Shows the current WCCP interfaces status.
|
Feature History for WCCP
Table 10-2 lists the release history for this feature.
Table 10-2 Feature History for WCCP
Feature Name
|
Releases
|
Feature Information
|
WCCP
|
7.2(1)
|
This feature was introduced.
The following commands were introduced:
wccp and wccp interface.
|