cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18586
Views
4
Helpful
2
Comments
Sandeep Singh
Level 7
Level 7

 

 

Introduction

WCCP was initially designed as a component of Cisco IOS Software whose purpose was to intercept HTTP traffic traversing a router and redirect that traffic to a local cache with the aim of reducing access times to websites and conserving wide area link upstream bandwidth. With the introduction of WCCPv2, the scope of the protocol widened to include traffic types other than HTTP, allowing the protocol to be used as a more general interception mechanism. In WCCPv2 clients specify the nature of the traffic to be intercepted and forwarded to external devices, which are then in a position to provide services, based upon the traffic type, such as WAN optimization and application acceleration.

 

WCCP v2 protocol

WCCP v2 specifies interactions between one or more WCCP servers and one or more WCCP clients. The WCCP server role can be performed by some intelligent router device; the WCCP client could be a content caching engine or some other service delivering appliance. The purpose of the interaction is to establish and maintain the transparent redirection of selected types of traffic flowing through a router or group of routers. The selected traffic is redirected to a cache engine or group of caches with the aim of providing some kind of service such as optimizing network resource usage, lowering response times, improving security and so on. WCCP transparently redirects a variety of traffic types, specified by protocol (TCP or User Datagram Protocol [UDP]) and port. End users do not know that the page came from the cache engine rather than from the originally requested web server.

 

WCCP best practices for WAAS deployment

Use WCCP GRE encapsulation when working with routers because most routers do not support L2 redirection. Use WCCP L2 Redirection as the packet forwarding method when working with switches or Cisco 7600 series routers, because redirection can be performed in hardware. This approach minimizes the CPU workload on the Cisco WAE and the switch, and can improve overall performance.

 

Do not use the default mask when using Mask Assignment.

 

Branch Mask Value: In a branch office, source IP addresses are typically assigned sequentially by DHCP. This results in addresses that vary only in the least significant bits. Mask distribution can be maximized here by specifying a WCCP mask in the range of 0x1 thru 0x7F depending on the number of WAAS devices.

 

Data Center Mask Value: In a large enterprise network address allocation scheme, these subnets vary in the third tuple of the IP address quadruple (/24 address mask) so the WCCP mask can be specified between 0xF00 thru 0x7F00.For a large Data Center with /16 address mask for branch locations, use WCCP masks in the range of 0xF0000 and 0x7F0000.

 

For topologies, where Path Affinity needs to be maintained between the WCCP router/switch and WAAS, use WCCP GRE Return or Generic GRE as the WAAS Egress Method.

 

For Catalyst 6500/7600 platforms which does GRE in the hardware, use Generic GRE as the Egress Method for Path Affinity requirement, instead of using WCCP GRE Return

 

Incase if WCCP weight factors are used, to guarantee complete WCCP failover coverage, use weight factors for individual devices that are greater than 100.

 

Avoid specifying tcp ports as part of an ACL for WCCP Redirect List.  This can cause severe issues if the network configuration results in any packet fragmentation.

 

Instead of using Static Bypass Feature of WAAS, apply WCCPv2 redirect list ACLs on the router/switch wherever possible to prevent unnecessary processing and packet routing on the router/switch.

 

While configuring WCCP on the Router, it is always recommended to enable IP CEF on the router.

 

The following best practices should be followed for implementing WCCP on a hardware-based platform: L2 Forwarding;Mask Assignment; Inbound Interception; No "ip wccp redirect exclude in"; WAAS Egress Method: IP Forwarding, Generic GRE (Cat6k PFC-based systems only)

 

Before placing any "ip wccp redirect out" CLI command on a router interface, always check to make sure you have already placed an "ip wccp exclude in" on the interface through which the WAAS WAEs will return traffic to the router. Failure to do this may result in total loss of connectivity with the router.

 

 

Related Information

GRE Redirection in WCCP Creates new tunnel interfaces

Common WAAS/WCCP issues on interactions with Security Devices

Comments

Cisco has a new solution called ITD:

http://blogs.cisco.com/datacenter/itd-load-balancing-traffic-steering-clustering-using-nexus-5k6k7k

 

ITD (Intelligent Traffic Director) is a hardware based multi-Tbps Layer 4 load-balancing, traffic steering, redirection, and clustering solution on Nexus 5K/6K/7K series of switches. It supports IP-stickiness, resiliency, NAT (EFT), VIP, health monitoring, sophisticated failure handling policies, N+M redundancy, IPv4, IPv6, VRF, weighted load-balancing, bi-directional flow-coherency, and IPSLA probes including DNS. There is no service module or external appliance needed. ITD is much superior than legacy solutions like PBR, WCCP, ECMP, etc.

 

Alcides Miguel
Level 1
Level 1

Hi,

I've doubt about the WCCP Assignment Settings, where you say to in mask method to use 0x1 or 0x7F in branch.

I've a network where in Branch office have a network length of /24 and in DC is /16 how can I design the mask.

Best regards,

Alcides

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: