Top Banner
1 Presentation_ID © 1999, Cisco Systems, Inc. Web Cache Communication Protocol (WCCP) Web Cache Communication Protocol (WCCP)
77

Web Cache Communication Protocol (WCCP)

Sep 12, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Web Cache Communication Protocol (WCCP)

1Presentation_ID © 1999, Cisco Systems, Inc.

Web CacheCommunication Protocol

(WCCP)

Web CacheCommunication Protocol

(WCCP)

Page 2: Web Cache Communication Protocol (WCCP)

2Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

IntroductionIntroduction

• Objective - Provide a conceptualunderstanding on what WCCP is, thefactors that have gone into it’sdevelopment, and thoughts on whatwe (Cisco) can use for tomorrow.

• This is not in-depth technical

Page 3: Web Cache Communication Protocol (WCCP)

3Presentation_ID © 1999, Cisco Systems, Inc.

WCCPWCCP

3Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 4: Web Cache Communication Protocol (WCCP)

4Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Cache CommunicationProtocol (WCCP)

Web Cache CommunicationProtocol (WCCP)

• Content Routing Technology firstintroduced in 1997

• Provides mechanism to redirecttraffic flows [originally caches] inreal-time

• Has in-built load-balancingmechanism, scaling, fault tolerance,and service-assurance (failsafe)mechanisms

Page 5: Web Cache Communication Protocol (WCCP)

5Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

First - what exactly is thename?

First - what exactly is thename?

• WCCP’s many names:

3Web Cache Coordination Protocol

3Web Cache Control Protocol

• Web Cache Communication Protocolis the name was finally reached viainternal consensus. (yes we need tochange the names on the Internet-Drafts)

Page 6: Web Cache Communication Protocol (WCCP)

6Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Second - WCCP is not justWeb

Second - WCCP is not justWeb

• WCCPv2 works with any TCP/UDPport.

• The name suggest “web,” but the keyvalue is it’s use for redirection ofother applications.

Page 7: Web Cache Communication Protocol (WCCP)

7Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Cache CommunicationProtocol (WCCP)

Web Cache CommunicationProtocol (WCCP)

• WCCPv1/WCCPv2 implemented byseveral vendors:

3Inktomi, NetApps, CacheFlow, Novell,Infolibra - orginal licensees

3Squid has a version with WCCPv1 w/WCCPv2 coming (when Lincoln has time)

Page 8: Web Cache Communication Protocol (WCCP)

8Presentation_ID © 1999, Cisco Systems, Inc.

TransparentRedirection of a Flow

in the POP

TransparentRedirection of a Flow

in the POPFactors that went into the

design of WCCPFactors that went into the

design of WCCP

8Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 9: Web Cache Communication Protocol (WCCP)

9Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Design Objectives for the ISPDesign Objectives for the ISP

• Transparent Redirection of a IP flowbased on source, destination, and/orport number.

• Transparent Integration - norebuilding the POP to add thisservice.

• Failed open - if the service fails, itshould not effect the core IP servicenor any other services.

Page 10: Web Cache Communication Protocol (WCCP)

10Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Design Objectives for the ISPDesign Objectives for the ISP

CPECPE POPPOP CORECORE

Interconnect Leased Core

ISDNPOTS

Lease LineCablexDSL

Access

Primary Packet Flow

WCCPServiceClusters

• Not to effect the primary packet flow of thePOP - if not redirected - then is CEF/dCEFSwitched!

Page 11: Web Cache Communication Protocol (WCCP)

11Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Design Objectives for the ISPDesign Objectives for the ISP

CPECPE POPPOP CORECORE

Interconnect Leased Core

ISDNPOTS

Lease LineCablexDSL

Access

WCCPServiceClusters

• Work with the multi-level L2/L3 redundancyof the ISP POP. Equal paths in the IGP +CEF leads packet asymmetry.

Input PortWCCP

Redirect

Page 12: Web Cache Communication Protocol (WCCP)

12Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Design Objectives for the ISPDesign Objectives for the ISP

CPECPE POPPOP CORECORE

Interconnect Leased Core

ISDNPOTS

Lease LineCablexDSL

Access

WCCPServiceClusters

• Provide the ISP with Flexibility on the pointof redirection.

Page 13: Web Cache Communication Protocol (WCCP)

13Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Design Objectives for theService Group

Design Objectives for theService Group

• Linear Scalability with the Cache -minimize object replication.

• Fault Tolerance and Maintenance.

• “Joe Smith the Telco Tech” test.

Page 14: Web Cache Communication Protocol (WCCP)

14Presentation_ID © 1999, Cisco Systems, Inc.

WCCP - Where UsedToday

WCCP - Where UsedToday

14Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 15: Web Cache Communication Protocol (WCCP)

15Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP - Where used todayWCCP - Where used today

• Transparent Redirection into:

3Cache Service Cluster(s)

3Reverse Proxy Service Cluster(s)

3Replication Service Clusters(s)

3CDN Overlay Networks (Inktomi MirrorImage, and NetApps)

Page 16: Web Cache Communication Protocol (WCCP)

16Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Dial

PoP

ServiceProvider

ISDN Leased Line,Broadband

Internet

WCCP - Where used todayWCCP - Where used today

• ISP POPs

• Benefits:3Accelerated

content delivery

3Protection vs.uncontrollablebottlenecks(e.g. Web servers)

CE 590/570

CE 590

Page 17: Web Cache Communication Protocol (WCCP)

17Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP - Where used todayWCCP - Where used today

• Enterprise WANs3 Monitor, manage,

and report accessto non-businessand objectionablecontent

3 More productiveWAN bandwidthusage

BranchOffice

CampusBackbone

IntranetData Center

BranchOffice

BranchOffice

Internet

CE 590 / 570

T1

11 MbpsDS-3

CE 550

CE 505

Page 18: Web Cache Communication Protocol (WCCP)

18Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Users

WCCP - Where used todayWCCP - Where used today

Internet/Intranet

LocalDirectorRouter

Switch Switch

Cisco CacheEngine 500s

WebServers

• Reverse Proxy3 Cisco Cache Engines off-load traffic off the

Web servers3 Accelerate Web site, increase capacity

Page 19: Web Cache Communication Protocol (WCCP)

19Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Fast EthernetGigabit

Backup Links

Co-LoPartner

ISP-2

Cache Engine500 Series

Web Servers

Database Servers

LocalDirector

PIX™

Firewall

Cache Engine500 Series

WCCP - Where used todayWCCP - Where used today

Page 20: Web Cache Communication Protocol (WCCP)

20Presentation_ID © 1999, Cisco Systems, Inc.

WCCP BasicFunctionalityWCCP BasicFunctionality

20Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 21: Web Cache Communication Protocol (WCCP)

21Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction

WCCP’s Basic CachingFunction

• Connection initiated fromweb-browser or other service.Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 22: Web Cache Communication Protocol (WCCP)

22Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction

WCCP’s Basic CachingFunction

• Connection initiated fromweb-browser or other service

• Router intercepts flow andredirects it to new location(the original packet is encapsulatedunchanged within a GRE frame)

Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 23: Web Cache Communication Protocol (WCCP)

23Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction

WCCP’s Basic CachingFunction

• Connection initiated fromweb-browser or other service

• Router intercepts flow andredirects it to new location(the original packet is encapsulatedunchanged within a GRE frame)

• Device that flow is redirectedto can choose what to do withflow:

3 send somewhere else3 masquerade as real server

Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 24: Web Cache Communication Protocol (WCCP)

24Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction

WCCP’s Basic CachingFunction

• Connection initiated fromweb-browser or other service

• Router intercepts flow andredirects it to new location(the original packet is encapsulatedunchanged within a GRE frame)

• Device that flow is redirectedto can choose what to dowith flow:

3 send somewhere else3 masquerade as real server

• Cache Engine will serve flow(in case of hit), will initiatesecond flow if a miss

Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 25: Web Cache Communication Protocol (WCCP)

25Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic Caching FunctionSubsequent Requests

WCCP’s Basic Caching FunctionSubsequent Requests

• Connection initiated fromweb-browserInternet

RouterrunningWCCP

Cache/ServiceGroup

Page 26: Web Cache Communication Protocol (WCCP)

26Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction Subsequent Requests

WCCP’s Basic CachingFunction Subsequent Requests

• Connection initiated fromweb-browser

• Router intercepts flow andredirects it to new location(the original packet is encapsulatedunchanged within a GRE frame)

Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 27: Web Cache Communication Protocol (WCCP)

27Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Basic CachingFunction Subsequent Requests

WCCP’s Basic CachingFunction Subsequent Requests

• Connection initiated fromweb-browser

• Router intercepts flow andredirects it to new location(the original packet is encapsulatedunchanged within a GRE frame)

• Cache masquerades as theweb-server. Object is servedlocally from the cache

Internet

RouterrunningWCCP

Cache/ServiceGroup

Page 28: Web Cache Communication Protocol (WCCP)

28Presentation_ID © 1999, Cisco Systems, Inc.

WCCP FeaturesWCCP Features

28Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 29: Web Cache Communication Protocol (WCCP)

29Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s FeaturesWCCP’s Features

• WCCP’s Features are in two parts:

3Router Based - Benefiting the operationof the ISP Edge (POP) or EnterpriseGateway.

3Service Group - Benefiting theapplications WCCP is servicing

Page 30: Web Cache Communication Protocol (WCCP)

30Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Features(Router)

WCCP’s Features(Router)

• Transparent Integration

• Fail Open on the Service GroupFailure

• On-line Maintenance of the ServiceGroup

• Multiple Router Support in oneService Group MD5 Authenticationbetween Router and Service Group

Page 31: Web Cache Communication Protocol (WCCP)

31Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Features(Router)

WCCP’s Features(Router)

• CEF and dCEF Switched

• Multiple Service Groups

• Options on where the redirectionshappens

Page 32: Web Cache Communication Protocol (WCCP)

32Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Features(Service Group)

WCCP’s Features(Service Group)

• Fault Tolerance of the Service Group

• On-line Maintenance of the ServiceGroup

• Linear Scalability of the of theService Group

• WCCP Slow Start

Page 33: Web Cache Communication Protocol (WCCP)

33Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP’s Features(Service Group)

WCCP’s Features(Service Group)

• Fault Prevention - Packet ReturnFeature (Overload and Bypass)

• Load Distribution (Hot Spots)

• Fail Open on the Service GroupFailure

• Authentication By-pass

Page 34: Web Cache Communication Protocol (WCCP)

34Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Internet

Web Server

Cache/ServiceGroup

Transparent IntegrationTransparent Integration

No Changes toNo Changes toNetworkNetwork

Architecture,Architecture,Browsers, orBrowsers, or

ServersServersConfigured Ports AreRedirected to Cache Engine

Page 35: Web Cache Communication Protocol (WCCP)

35Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

AutomaticWCCP

Shutdown

Internet

Web Server

XX

Fail OpenFail Open

Page 36: Web Cache Communication Protocol (WCCP)

36Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Server

Cisco Cache EngineGroup

Multi Router - POP BorderRouters

Multi Router - POP BorderRouters

Internet

POP BorderRouter

Page 37: Web Cache Communication Protocol (WCCP)

37Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Server

Cisco Cache EngineGroup

Multi Router Support - POPEdge Devices

Multi Router Support - POPEdge Devices

Internet

MHSRPRouter Pair

Dial (PSTN/ISDN),Cable, xDSL, or

Lease Line Access

Page 38: Web Cache Communication Protocol (WCCP)

38Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Server

Cisco Cache EngineGroup

Multihome Routervia HSRP

Multihome Routervia HSRP

Internet

MHSRPRouter Pair XX

Page 39: Web Cache Communication Protocol (WCCP)

39Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Web Server

Service Group 1(Web)

Multi-Service Group SupportMulti-Service Group Support

Internet

MHSRPRouter Pair

Dial (PSTN/ISDN),Cable, xDSL, or

Lease Line Access

Service Group 2(Streaming Video)

Page 40: Web Cache Communication Protocol (WCCP)

40Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Scalable GroupingScalable Grouping

• Load balancing by hashing on destinationIP address

• Linear, incremental scalability

• Hot insertion

• High availability, redundancy

Page 41: Web Cache Communication Protocol (WCCP)

41Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Automatic Redistribution

Buckets 86–170Buckets 86–128

Buckets 1–85Buckets 129–170Buckets 171–255

A B CXX

Fault ToleranceFault Tolerance

Page 42: Web Cache Communication Protocol (WCCP)

42Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Service Group Maintenance

Groups 1-85 Groups 86-170 Groups 171-255

• Service Group “Shutdown”

3Stops accepting connections from WCCP

3Tells WCCPv2 to stop sending flows

A B C

N + 2 Group Sizingé One for failureé One for Maintenance

Page 43: Web Cache Communication Protocol (WCCP)

43Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Service Group Maintenance

Groups 1-85 Groups 86-170 Groups 171-255

Groups 86-128 Groups 129-170

A B C

• Service Group Convergence

3Tells WCCPv2 to start sending flows

3Gradual hand off from other units in Group

Group 86 request

Page 44: Web Cache Communication Protocol (WCCP)

44Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Fault Prevention:Overload

RequestRefused

OriginWeb Server

Internet

ClientRequestsURL

Cisco Cache EngineGroup (Overloaded)

Page 45: Web Cache Communication Protocol (WCCP)

45Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Internet

Cisco Cache EngineGroup (Overloaded)

Fault Prevention:Overload

OriginWeb Server

Page 46: Web Cache Communication Protocol (WCCP)

46Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Internet

ClientRequestsURL

ClientRequestsURL

Cisco Cache EngineGroup

Fault Prevention:IP Authentication

OriginWeb Server

Page 47: Web Cache Communication Protocol (WCCP)

47Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

OriginWeb Server

Internet

Fault Prevention:IP Authentication

IPAuthentication

Failure

Auto RetryMessage

Build aBypass Pair

Cisco Cache EngineGroup

Page 48: Web Cache Communication Protocol (WCCP)

48Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

RequestRefused

OriginWeb Server

Internet

Fault Prevention:IP Authentication

BrowserRetries

Cisco Cache EngineGroup

Bypass PairMatch

Page 49: Web Cache Communication Protocol (WCCP)

49Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Internet

Fault Prevention:IP Authentication

Cisco Cache EngineGroup

SuccessfulIP Authentication

SuccessfulIP Authentication

OriginWeb Server

Page 50: Web Cache Communication Protocol (WCCP)

50Presentation_ID © 1999, Cisco Systems, Inc.

WCCP - WhichSoftware

WCCP - WhichSoftware

Latest NewsLatest News

50Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 51: Web Cache Communication Protocol (WCCP)

51Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCPv2 EnhancementsWCCPv2 Enhancements

• Announced late 1998, integrated intoIOS 12.0(3)T

• Major Enhancement is that anythingcan be intercepted/redirected3Router is instructed what to intercept

and how to load-balance it

• Supports flows being re-insertedback into original traffic path

Page 52: Web Cache Communication Protocol (WCCP)

52Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCPv2 EnhancementsWCCPv2 Enhancements

• Supports multiple routers/switchesto multiple caches

• MD5 Authentication of Service Group

• 12.0(4)T - CEF Switched

• 12.0(5)T - Customer can selectbetween WCCPv1 and WCCPv2

Page 53: Web Cache Communication Protocol (WCCP)

53Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCPv2 Enhancements as of12.0(11)S

WCCPv2 Enhancements as of12.0(11)S

• Flow Acceleration supporté Any ACLs used to match traffic for

interception will only require ACL to matchon first packet in flow.

• DCEF switching on 7500+VIP• Input-interface switching

é Intercept based on input interface wheretraffic is coming in (current is output-only)

Page 54: Web Cache Communication Protocol (WCCP)

54Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCPv2 Enhancements as of12.0(11)S

WCCPv2 Enhancements as of12.0(11)S

• Most enhancements addressingperceived ‘speed’ issue.3 WCCP can operate at hundreds of

mbit/sec right now

3 Enhancements will mean per-packet additional cpu will be <3%

• BGP Policy Propagation for WCCP- Abilityto define traffic which can be interceptedvia route-map.3 bgp community, as-path etc

Page 55: Web Cache Communication Protocol (WCCP)

55Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP Enhancement for theCAT6K (12.1E)

WCCP Enhancement for theCAT6K (12.1E)

• CAT6K Enhancements - MLS path -this means that the first packet will besoftware-switched, but subsequentpackets only go thru the hardware-switching path.

312.1(2)E for sup1

312.1(4)E for sup2

Page 56: Web Cache Communication Protocol (WCCP)

56Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Requires Layer 2Cache Adjacency

Q1 CY ’00

WCCP Enhancement for theCAT6K (12.1E)

WCCP Enhancement for theCAT6K (12.1E)

H2 CY ’00

100 Kpps

15-150 MppsSup ISW switched

Sup IIHW switched

1000x PerformanceImprovement

Page 57: Web Cache Communication Protocol (WCCP)

57Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP - Which Software?WCCP - Which Software?

• Three Production flavors of WCCP:3 WCCPv1 - the orginal - 11.1CC

3 WCCPv2 (first round - 12.0(3)T) Output Feature& CEF

3 WCCPv2 (second round - 12.0(11)S) InputFeature & dCEF

3 WCCPv2 (third round 12.1.(3)E ) CAT 6K Support- GRE, L2, and L3 Forwarding to Service Group

3 WCCPv2 (forth round - in progress) - pulltogether the features 12.0(11)S and 12.1(3)E

Page 58: Web Cache Communication Protocol (WCCP)

58Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCPv2: GRE Encap, CEF/DCEF SwitchedAccelerated WCCPv2: L2 Rewrites, No GRE

Accelerated WCCPv2for Catalyst 6x00

Accelerated WCCPv2for Catalyst 6x00

Conns/sec

Throughput

Supervisor 1

MSFC 1GRE50K50K

170 Kpps170 Kpps

MSFC 1L2

50K50K

15 Mpps15 Mpps

MSFC 2GRE150K150K

510 Kpps510 Kpps

MSFC 2L2

150K150K

15 Mpps15 Mpps

Supervisor 2

MSFC 2GRE150K150K

510 Kpps510 Kpps

MSFC 2L2

1M+1M+

30 Mpps30 Mpps

Page 59: Web Cache Communication Protocol (WCCP)

59Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

• Today: Supervisor 1 support

3CE 590+SA6: Cache 2.2 software

3Catalyst 6000: Catalyst OS 5.5, MSFC:Cisco IOS 12.1(2)E

• Q1 CY ’01: Supervisor 2 support

3CE 7320+SA12 or CE 590+SA6: Cache 3.2 software

3Catalyst 6000: Catalyst OS 6.1, MSFC:Cisco IOS 12.1(4+)E

Accelerated WCCPv2for Catalyst 6x00

Accelerated WCCPv2for Catalyst 6x00

Page 60: Web Cache Communication Protocol (WCCP)

60Presentation_ID © 1999, Cisco Systems, Inc.

Policy Propagationwith WCCP

Policy Propagationwith WCCP

Using MTRES vs ACLsUsing MTRES vs ACLs

60Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com

Page 61: Web Cache Communication Protocol (WCCP)

61Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

BGP Policy Propagation forWCCP

BGP Policy Propagation forWCCP

• Problem: Caching is an operationalsavings. What ISPs and Co-LoProviders are looking for is a newrevenue stream - CDNs

• Problem: How to maintain redirectionACLs and Route-Maps that will pointredirected packets to the correct CDNservice? (think 1000s of devices w/ ACLs)

Page 62: Web Cache Communication Protocol (WCCP)

62Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

BGP Policy Propagation forWCCP

BGP Policy Propagation forWCCP

• Answer - use the FIB!

3The FIB has the capability to add extrafields to describe a prefix.

3Currently (12.0(11)S) there are four extraFIB fields - precedence, qos_group,traffic_index, and wccp_tag

3Features would use a MTRE look-up inthe FIB to get information on what toredirect.

Page 63: Web Cache Communication Protocol (WCCP)

63Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Prefix 210.210.1.0/24 Community 210:5

iBGP Peers

ServiceProvider

AS210.210.1.0/24

R1 R2

Clients PremiumCustomer

Intercept alltraffic bound

for Community210:5

BGP Policy Propagation forWCCP

BGP Policy Propagation forWCCP

Page 64: Web Cache Communication Protocol (WCCP)

64Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Example - Step 1

Step 1- Router R2 (or another Router) mark the prefix with acommunity!router bgp 210 neighbor 210.210.14.1 remote-as 210 neighbor 210.210.14.1 route-map comm-relay-prec out neighbor 210.210.14.1 send-community!ip bgp-community new-format!access-list 1 permit 210.210.1.0 0.0.0.255!route-map comm-relay-prec permit 10 match ip address 1 set community 210:5!route-map comm-relay-prec permit 20 set community 210:0!

Page 65: Web Cache Communication Protocol (WCCP)

65Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Example - Step 2

Step 2 - Use the BGP Update to match the community and setthe value in the FIB

!router bgp 210 table-map precedence-map neighbor 200.200.14.4 remote-as 210 neighbor 200.200.14.4 update-source Loopback0!ip bgp-community new-format!ip community-list 1 permit 210:5!route-map precedence-map permit 10 match community 1 set ip wccp 50!route-map precedence-map permit 20!

Page 66: Web Cache Communication Protocol (WCCP)

66Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Prefix 210.210.1.0/24 Community 210:5

Example - Status

iBGP Peers

ServiceProvider

AS210.210.1.0/24

R1 R2

Prefix Next-hopWCCP_TAG

210.210.1.0/24 h0/0/0 50210.210.2.0/24 h0/0/0 0

R1’s FIB Table

TrafficSource

PremiumCustomer

Page 67: Web Cache Communication Protocol (WCCP)

67Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Step 3 - WCCP used the a FIB lookup to get the WCCP_TAG. Itthen redirected based on the WCCP_TAG value.!

ip wccp version 2

ip wccp web-cache password <pass> policy source 50

!

interface <xyz>

ip wccp web-cache redirect in

!

Example - Step 3

Page 68: Web Cache Communication Protocol (WCCP)

68Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

• Very powerful -- provides for selective inclusion incache eligibility

3 ‘Premium’ hostingé Service Providers can offer transparent backbone caching.

Peers/customers can choose to participate by setting bgpcommunity/MED

3 Cache-only-dial-poolé Provider only wants to cache dial or DSL pool, yet address

space is segregated.3 Selective intercept based on administrative pref

é Only cache traffic which is due to go out an expensive path(eg. International)

3 Redirects into CDN Services

BGP Policy Propagation forWCCP

BGP Policy Propagation forWCCP

Page 69: Web Cache Communication Protocol (WCCP)

69Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

• The following example shows only "premium"traffic being cached.

3 "Premium" traffic is defined as traffic which has:

3 The policy defined below is:é any traffic with community 4433:1050 set,é any traffic with community 4433:1055 set,é any traffic originating from directly-connected AS 65521,é any traffic passing thru directly-connected AS 65522,é any traffic passing thru AS 65523

3 is eligible for intercept.

3 Standard "web-cache" service is used -- which is a standardassignment of 'match tcp destination port 80', distribute traffic amongparticipating caches as hashed by destination ip address.

Another ExampleAnother Example

Page 70: Web Cache Communication Protocol (WCCP)

70Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

Another ExampleAnother Example!ip cef distributed # ensure Distributed CEF is enabled!ip wccp version 2 # enable WCCPv2ip wccp web-cache password <pass> policy source 50 # enable WCCP standard web-cache service, apply policy ! #"source"- match on WCCP route-tag 50interface <xyz> # incoming i/face ip wccp web-cache redirect in # redirect on input traffic!router bgp XXXX table-map neighbor-xyz-in # BGP Updates the FIB’s WCCP_TAG field!ip bgp-community new-formatip community-list 3 permit 4433:1050 # AS4433 community 1050 is premiumip community-list 3 permit 4433:1055 # AS4433 community 1055 is premium!ip as-path access-list 121 permit ^65521$ # only traffic from AS65521 is premiumip as-path access-list 121 permit ^65522 # any traffic thru AS65522 premium!route-map neighbor-xyz-in permit 10 # incoming route filter on match as-path 121 set ip wccp 50!route-map neighbor-xyz-in permit 15 match community 3 set ip wccp 50

Page 71: Web Cache Communication Protocol (WCCP)

71Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

The CaveatThe Caveat

• BGP Policy Propagation for WCCPwas only committed to 12.0(11)S.

3Hence it is currently in 12.0(11)S and it’schildren - 12.0SC and 12.0SL

• Work is underway to have thiscommitted to 12.1T and find ways forit to work on the EARL and GSRarchitecture (issue is the MTRE for thesource address).

Page 72: Web Cache Communication Protocol (WCCP)

72Presentation_ID © 1999, Cisco Systems, Inc.

Where is WCCPgoing?

Where is WCCPgoing?

72© 2000, Cisco Systems, Inc.

(WCCP in 3+ months)(WCCP in 3+ months)

Page 73: Web Cache Communication Protocol (WCCP)

73Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

IETF StatusIETF Status

• WCCPv1 spec released as an IETFInternet Draft (under the WREC WG)Will be updated and re-submitted inJuly’00

• WCCPv2 Internet Draft submitted inJuly’00

• Not standards track material - willwork for Informational RFCs viaWREC WG

Page 74: Web Cache Communication Protocol (WCCP)

74Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP Direction ForwardWCCP Direction Forward

• IOS Sync between the 12.0(11)Simprovements and the 12.1Eimprovements on the Cat6K.

• Working on WCCP functionality onthe GSR Engine2, Engine3, andEngine4. Will not be able to supportthe full feature set.

• Most other IOS platforms haveWCCPv2 12.XT support.

Page 75: Web Cache Communication Protocol (WCCP)

75Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP and our current CDNSolution?

WCCP and our current CDNSolution?

• Currently not part of the solution.

3DNS Flavor of Content Routing works ina ISP’s multi-level redundancyarchitecture.

3WCCP is not needed - unless managingCE/CN service groups (i.e reverse-proxy)

3WCCP + Boomerang will work (Edge-Interception)

Page 76: Web Cache Communication Protocol (WCCP)

76Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL

WCCP and our current CDNSolution

WCCP and our current CDNSolution

• WCCP is a single ISP solution.

• Our DNS based CDN solution spansmultiple ISPs

Page 77: Web Cache Communication Protocol (WCCP)

77Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com