Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
1Presentation_ID © 1999, Cisco Systems, Inc.
Web CacheCommunication Protocol
(WCCP)
Web CacheCommunication 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
3Presentation_ID © 1999, Cisco Systems, Inc.
WCCPWCCP
3Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com 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
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)
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.
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
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)
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
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.
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!
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
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.
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
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.
14Presentation_ID © 1999, Cisco Systems, Inc.
WCCP - Where UsedToday
WCCP - Where UsedToday
14Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com
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)
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
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 Mbps
DS-3
CE 550
CE 505
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
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
20Presentation_ID © 1999, Cisco Systems, Inc.
WCCP BasicFunctionalityWCCP BasicFunctionality
20Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com
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
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
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
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 5
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
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
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
28Presentation_ID © 1999, Cisco Systems, Inc.
WCCP FeaturesWCCP Features
28Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com
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
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 6
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
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
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
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
35Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
AutomaticWCCP
Shutdown
Internet
Web Server
XX
Fail OpenFail Open
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 7
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 Access38Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
Web Server
Cisco Cache EngineGroup
Multihome Routervia HSRP
Multihome Routervia HSRP
Internet
MHSRPRouter Pair XX
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)
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
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
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 8
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 Convergence3Tells WCCPv2 to start sending flows
3Gradual hand off from other units in Group
Group 86 request
44Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
Fault Prevention:Overload
RequestRefused
OriginWeb Server
Internet
ClientRequestsURL
Cisco Cache EngineGroup (Overloaded)
45Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
Internet
Cisco Cache EngineGroup (Overloaded)
Fault Prevention:Overload
OriginWeb Server
46Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
Internet
ClientRequestsURL
ClientRequestsURL
Cisco Cache EngineGroup
Fault Prevention:IP Authentication
OriginWeb Server
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
48Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
RequestRefused
OriginWeb Server
Internet
Fault Prevention:IP Authentication
BrowserRetries
Cisco Cache EngineGroup
Bypass PairMatch
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 9
49Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
Internet
Fault Prevention:IP Authentication
Cisco Cache EngineGroup
SuccessfulIP Authentication
SuccessfulIP Authentication
OriginWeb Server
50Presentation_ID © 1999, Cisco Systems, Inc.
WCCP - WhichSoftware
WCCP - WhichSoftware
Latest NewsLatest News
50Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com
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
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
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 where
traffic is coming in (current is output-only)
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 now3 Enhancements will mean per-packet
additional cpu will be
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 10
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
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
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
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
59Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
• Today: Supervisor 1 support3CE 590+SA6: Cache 2.2 software
3Catalyst 6000: Catalyst OS 5.5, MSFC:Cisco IOS 12.1(2)E
• Q1 CY ’01: Supervisor 2 support3CE 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
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
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 11
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)
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.
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
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!
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!
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_TAG210.210.1.0/24 h0/0/0 50210.210.2.0/24 h0/0/0 0
R1’s FIB Table
TrafficSource
PremiumCustomer
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 12
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 policy source 50
!
interface
ip wccp web-cache redirect in
!
Example - Step 3
68Presentation_ID © 1999, Cisco Systems, Inc. INTERNAL DOCUMENT - CONFIDENTIAL
• Very powerful -- provides for selective inclusion incache eligibility3 ‘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
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
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 policy source 50 # enable WCCP standard web-cache service, apply policy ! #"source"- match on WCCP route-tag 50interface # 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
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).
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)
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 13
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
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.
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)
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
77Presentation_ID © 1999, Cisco Systems, Inc. www.cisco .com