Table Of Contents
WCCP Redirection on Inbound Interfaces
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring Inbound Redirection for a Web Cache Service
Configuring Inbound Redirection for Other Services
Verifying WCCP Inbound Redirection
WCCP Redirection on Inbound Interfaces
Feature History
Release Modification12.1(3)T
This feature was introduced.
12.1(13)E
This feature was introduced on Cisco IOS Release 12.1E for the Cisco 7200 and Cisco 7500 series routers.
This feature module describes the WCCP Redirection on Inbound Interfaces feature and includes information on the benefits of the new feature, supported platforms, configuration tasks, and a command reference.
This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The WCCP Redirection on Inbound Interfaces feature adds support to Cisco IOS software for the redirection of Web Cache Communication Protocol (WCCP) traffic on inbound interfaces. Prior to this release, WCCP could be configured to redirect traffic at an outbound interface only.
This feature offers better redirection performance as well as providing more flexibility in configuring WCCP.
Inbound traffic can be configured to use Cisco Express Forwarding (CEF), Fast Forwarding, or Process Forwarding.
This feature module documents only the enhancements added in Cisco IOS Releases 12.1(3)T and 12.1(13)E. For full WCCP configuration information, see the documents listed in the "Related Documents" section.
Benefits
Better Redirection Performance
Configuring WCCP for redirection for inbound traffic on interfaces allows you to avoid the overhead associated with CEF forwarding for outbound traffic. Setting an output feature on any interface results in the slower switching path of the feature being taken by all packets arriving at all interfaces. Setting an input feature on an interface results in only those packets arriving at that interface taking the configured feature path; packets arriving at other interfaces will use the faster default path. Configuring WCCP for inbound traffic also allows packets to be classified before the routing table lookup, which translates into faster redirection of packets.
Related Features and Technologies
•
Cisco Cache Engines
•
Web Cache Communication Protocol Version 2 (WCCPv2)
•
Web Cache Control Protocol Version 1 (WCCPv1)
Related Documents
This document addresses only configuring WCCPv2 on inbound interfaces. For complete details on configuring WCCP on Cisco IOS software-based platforms, see the following documents:
•
The "Configuring Web Cache Services Using WCCP" chapter of the Release 12.1 Cisco IOS Configuration Fundamentals Configuration Guide
•
The "WCCP Router Configuration Commands" chapter of the Release 12.1 Cisco IOS Configuration Fundamentals Command Reference
For Cisco Cache Engine configuration information see:
•
The Cisco Cache Engine, Version 2.0 User Guide and Release Notes
Supported Platforms
Note
In Cisco IOS Release 12.1(13)E, WCCP Redirection also became available on Cisco 7600 series routers and Catalyst 6500 family switches. The implementation on these platforms is different from the platforms mentioned in this document, however.
For information on WCCP Redirection on Cisco 7600 series routers and Catalyst 6000 family switches, see the software guides for those particular products.The following table lists the platforms that support the WCCP Redirection on Inbound Interfaces and the minimum IOS releases for each platform.
Table 1 WCCP Redirection on Inbound Interfaces Platform and Minimum IOS Release Support Table
Determining Platform Support Through Feature Navigator
Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Feature Navigator. Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Feature Navigator home page at the following URL:
Supported Standards, MIBs, and RFCs
Standards
No new or modified standards are supported by this feature.
MIBs
No new or modified MIBs are supported by this feature.
To obtain lists of supported MIBs by platform and Cisco IOS Release, and to download MIB modules, go to the Cisco MIB web site on cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
No new or modified RFCs are supported by this feature.
Prerequisites
Before using WCCP Version 2, the following tasks must be completed:
•
Properly install and configure cache engines connected to one or more routers.
•
Configure IP on the interface connected to the Internet and the interface connected to the cache engine.
Configuration Tasks
See the following sections for configuration tasks for the WCCP Redirection on Inbound Interfaces feature:
•
Configuring Inbound Redirection for a Web Cache Service
•
Configuring Inbound Redirection for Other Services
•
Verifying WCCP Inbound Redirection
Configuring Inbound Redirection for a Web Cache Service
Configuring Inbound Redirection for Other Services
Verifying WCCP Inbound Redirection
Use the following commands to verify and monitor the configuration settings for WCCP:
Configuration Example
The following example shows a configuration session in which redirection of HTTP traffic arriving on interface 0/1 is enabled:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface ethernet 0/1Router(config-if)# ip wccp web-cache redirect inRouter(config-if)# ^ZRouter# show ip interface ethernet 0/1. . .WCCP Redirect inbound is enabledWCCP Redirect exclude is disabled. . .Command Reference
This section documents the modified command introduced by this feature. All other commands used with this feature are documented in the Release 12.1 Cisco IOS Configuration Fundamentals Command Reference.
ip wccp redirect
To enable packet redirection on an outbound or inbound interface using Web Cache Communication Protocol (WCCP), use the ip wccp redirect interface configuration command. To disable WCCP redirection, use the no form of this command.
ip wccp {web-cache | service-number} redirect {out | in}
no ip wccp {web-cache | service-number} redirect {out | in}
Syntax Description
Defaults
Redirection checking on the interface is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
The ip wccp redirect in command allows you to configure WCCP redirection on an interface receiving inbound network traffic. When the command is applied to an interface, all packets arriving at that interface will be compared against the criteria defined by the specified WCCP service. If the packets match the criteria, they will be redirected.
Likewise, the ip wccp redirect out command allows you to configure the WCCP redirection check on an outbound interface.
Note
This command has the potential to effect the ip wccp redirect exclude in command. If you have ip wccp redirect exclude in set on an interface and you subsequently configure the ip wccp redirect in command, the "exclude in" command will be overridden. The opposite is also true; configuring the "exclude in" command will override the "redirect in" command.
Examples
The following example shows a configuration session in which reverse proxy packets on Ethernet interface 0 are being checked for redirection and redirected to a Cisco Cache Engine:
Router# configure terminalRouter(config)# ip wccp 99Router(config)# interface ethernet 0Router(config-if)# ip wccp 99 redirect outThe following example shows a configuration session in which HTTP traffic arriving on interface 0/1 will be redirected to a Cisco Cache Engine:
Router# configure terminalRouter(config)# ip wccp web-cacheRouter(config)# interface ethernet 0/1Router(config-if)# ip wccp web-cache redirect in
Related Commands
Glossary
cache engine—A device that stores objects being downloaded from the Web for future use by the host.
Cisco Express Forwarding (CEF)—A scalable, distributed, Layer 3 switching solution designed to meet performance requirements of the Internet and enterprise networks. CEF can also refer to central CEF mode, one of the two modes of CEF operation that enables a route processor to perform express forwarding.
distributed CEF (dCEF)—One of two modes of CEF operation that enables line cards to perform the express forwarding between port adapters.
FIB—Forwarding information base
line card—A general term for an interface processor that can be used in a line of Cisco products. For example, a VIP is a line card for the Cisco 7500 series router.
netflow—A feature of some routers which allows them to categorize incoming packets into flows. As packets in a flow can often be treated in the same way, this classification can be used to bypass some of the work of the router and accelerate its switching operation.
service group—A group of routers and cache engines configured to run the same WCCP redirection service.
WCCP—Web Cache Communication Protocol. WCCP is a protocol for communication between routers and Web caches. Two versions currently exist: WCCP Version 1(WCCPv1) and WCCP Version 2 (WCCPv2). The two versions are incompatible. Cisco IOS images may support either of the two versions or both.

