Document ID: 28832 |
Contents
-
Introduction
Network Diagram
Configurations
debug and show Commands
Verification
Command Summary
Related Information
Introduction
This document describes how to configure the Cisco Cache Engine for reverse-proxy caching by using the Web Cache Coordination Protocol (WCCP).Hardware and Software Version
This configuration was developed and tested using the software and hardware versions below.
- Cisco Cache Engine 560 running Cisco Cache Software Release 2.3 and ACNS
version 4.0 and ACNS 5.0 in a lab environment with cleared configurations.
- Cisco 2600 Router running Cisco IOS® Software Release 12.1(2).
Network Diagram

Configurations
debug and show Commands
Before issuing debug commands, please see Important Information on Debug Commands.Cache Engine debug and show commands:
- show wccp cache - Show WCCP CE information
- show wccp flows - Show WCCP packet flows
- show wccp routers - Show WCCP router list
- show wccp services - Show WCCP services configured
- show wccp slowstart - Show WCCP Slow Start
- show wccp status - Show WCCP running status
- show statistics http savings - Displays HTTP savings statistics
- debug wccp all - WCCP Turn on all debugging
- debug wccp events - WCCP events
- debug wccp packets - WCCP packet-related information
- show ip wccp 99 detail - This command displays Cache Engine and WCCP router statistics for a service group.
- show ip wccp 99 view - Service group view information
- debug ip wccp events - WCCP events
- debug ip wccp packets - WCCP packet-related information
Verification
Verify that reverse proxy caching is working with these commands.
Issue this command to check WCCP Cache/Content Engine status:
router#sh ip wccp 99 detail
WCCP Cache-Engine information:
IP Address: 10.0.0.2
Protocol Version: 2.0
State: Usable
!--- This cache is active.
Initial Hash Info: 00000000000000000000000000000000
00000000000000000000000000000000
Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Hash Allotment: 256 (100.00%)
Packets Redirected: 93
Connect Time: 00:15:27
Issue this command to check WCCP transparent reverse redirection on the router:
router#sh ip wccp 99
Global WCCP information:
Router information:
Router Identifier: 172.17.63.194
Protocol Version: 2.0
Service Identifier: 99
Number of Cache Engines: 1
Number of routers: 1
Total Packets Redirected: 93
!--- The router is redirecting.
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: -none-
Total Messages Denied to Group: 0
Total Authentication failures: 0
Issue this command to check HTTP statistics on the Cache/Content Engine:
cache#sh statistic http request
Statistics - Requests
Total % of Requests
---------------------------------------------------
Total Received Requests: 23 -
Forced Reloads: 2 8.7
Client Errors: 0 0.0
Server Errors: 0 0.0
URL Blocked (Reset): 0 0.0
URL Blocked: 0 0.0
Sent to Outgoing Proxy: 0 0.0
Failures from Outgoing Proxy: 0 0.0
Excluded from Outgoing Proxy: 0 0.0
ICP Client Hits: 0 0.0
ICP Server Hits: 0 0.0
If-Range Hits: 0 0.0
HTTP 0.9 Requests: 0 0.0
HTTP 1.0 Requests: 0 0.0
HTTP 1.1 Requests: 23 100.0
HTTP Unknown Requests: 0 0.0
Non HTTP Requests: 0 0.0
Non HTTP Responses: 0 0.0
Chunked HTTP Responses: 0 0.0
Http Miss Due To DNS: 0 0.0
Http Deletes Due To DNS: 0 0.0
Objects cached for min ttl: 4 17.4
Issue this command to verify the caching of requests:
cache#sh stat http sav
Statistics - Savings
Requests Bytes
-----------------------------------------------------------
Total: 23 16481
Hits: 6 2205
Miss: 17 14276
Savings: 25.0 % 13.4 %
Command Summary
These Cache Engine commands were used in this configuration.- wccp version {1 | 2}
- wccp router-list number ip-address
- wccp router-list-num number
- ip wccp {web-cache | service-number}
- ip wccp {web-cache | service-number} redirect out
- ip wccp version 2
Related Information
- WCCP Enhancements
- Cisco Application and Content Networking Software (ACNS) Support
- Technical Support & Documentation - Cisco Systems
| Updated: Jan 31, 2006 | Document ID: 28832 |
Feedback