08-15-2010 03:23 PM - edited 03-08-2019 06:35 PM
This configuration example is meant to be interpreted with the aid of the official documentation from the configuration guide located here:
http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/conns_wccp.html#wp1002608
The ASA must be running minimum 7.2.1 code to be able to configure WCCP feature.
There is only one WCCP server in this example.
ASA(config)#access-list wccp-servers permit ip host 192.168.6.10 any
The access-list argument should consist of a string of no more than 64 characters (name or number) that specifies the access list. The access
list should only contain network addresses. Port-specific entries are not supported.
ASA(config)#access-list wccp-traffic permit ip 192.168.6.0 255.255.255.0 any
ASA(config)#wccp web-cache group-list wccp-servers redirect-list wccp-traffic
The standard service is web-cache, which intercepts TCP port 80 (HTTP) traffic and redirects that traffic to the cache engines
ASA(config)#wccp interface inside web-cache redirect in
Verify with the WCCP provider regarding service IDs that they support. You can identify a service number between 0 and 254.
ASA(config)#wccp interface inside service 60 redirect in
access-list wccp-traffic extended permit ip 192.168.6.0 255.255.255.0 any
!
access-list wccp-servers extended permit ip host 192.168.6.10 any
!
wccp web-cache redirect-list wccp-traffic group-list wccp-servers
wccp interface inside web-cache redirect in
show wccp web-cache
show wccp interface
debug wccp event
debug wccp packets
i suspect to exclude a host from being redirected by wccp you would add a "deny" ace to the acl wccp-servers?
Hi,
Yes, you should add source or destination networks as "deny" ACL rules on the "wccp-traffic" ACL
Be fure to add them on the top of the ACL so they apply to the traffic before the "permit ip any any" type rules.
- Jouni
you are the best, thans for the reply.
Hi!
Can asa support two wccp groups in same direction on the same interface ?
Hi;
I test wccp in my ASA and when i do the show :
ASA-INTERNET-DRC# sh wccp web-cache
Global WCCP information:
Router information:
Router Identifier: 192.168.1.1
Protocol Version: 2.0
Service Identifier: web-cache
Number of Cache Engines: 1
Number of routers: 1
Total Packets Redirected: 149
Redirect access-list: wccp-traffic
Total Connections Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: wccp-servers
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 149
Why the Total Bypassed Packets Received and Total Packets Redirected have the same value.
Thank.
Lalaina
I have two wccp servers but at a time only one works and other dont. Do i have to do special configuration on the firewall. Does it support multiple servers in the same WCCP group.
WCCP redirect is supported only on the ingress of an interface. The only topology that the ASA supports is when client and cache engine are behind the same interface of the ASA and the cache engine can directly communicate with the client without going through the ASA.
http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/conns_wccp.html#wp1002608
How do i configure the asa so that all tcp and all udp traffic is redirected to the wccp server ? instead of just web-cache
Cheers,
Shiva
Hi,
I have two WSA s680s and wondering if ASA can use both for HA or load balance between the two WSAs.
Thanks,
Nav
Hi, thanks for the information, but i think my own topology is different. i have the ASA firewall which is connected to the outside interface and a cisco router connected to my inside interface of my ASA with this subnet 192.168.5.0/30 and my inside network from the router is 192.168.1.0/24. also th Cache engine is in the same subnet with my inside network. so after configuring WCCP on the ASA, this is what i got and it can't redirect to the Cache Engine. please i need someone to help me. Do i need to do any configuration on the router or further configuration on the ASA before it will redirect http and https?
omsasa(config)# sh wccp 90
Global WCCP information:
Router information:
Router Identifier: 217.14.85.227
Protocol Version: 2.0
Service Identifier: 90
Number of Cache Engines: 1
Number of routers: 1
Total Packets Redirected: 0
Redirect access-list: wccp-users
Total Connections Denied Redirect: 52208
Total Packets Unassigned: 0
Group access-list: wccp-server
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 0
omsasa(config)# sh wccp 70
Global WCCP information:
Router information:
Router Identifier: 217.14.85.227
Protocol Version: 2.0
Service Identifier: 70
Number of Cache Engines: 1
Number of routers: 1
Total Packets Redirected: 0
Redirect access-list: wccp-able
Total Connections Denied Redirect: 27836
Total Packets Unassigned: 0
Group access-list: wccp-server
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 0
This is my wccp configuration on my ASA
omsasa(config)# sh run wccp
wccp 70 redirect-list wccp-able group-list wccp-server
wccp 90 redirect-list wccp-users group-list wccp-server
wccp interface inside 70 redirect in
wccp interface inside 90 redirect in
omsasa(config)# sh run access-list wccp-users
access-list wccp-users remark bypass proxy
access-list wccp-users remark proxy access
access-list wccp-users extended deny ip any any
access-list wccp-users extended permit tc92.168.1.0 255.255.255.0 host 192.168.1.18 eq www
access-list wccp-users extended permit tcp 192.168.5.0 255.255.255.252 host 192.168.1.18 eq www
omsasa(config)# sh run access-list wccp-able
access-list wccp-able remark bypass proxy
access-list wccp-able remark proxy access
access-list wccp-able extended deny ip any any
access-list wccp-able extended permit tcp 192.168.1.0 255.255.255.0 host 192.168.1.18 eq https
access-list wccp-able extended permit tcp 192.168.5.0 255.255.255.252 host 192.168.1.18 eq https
Hi,
All the packets are being denied the Redirection as you can see using this counter:-
Total Connections Denied Redirect:
This is due to the Redirect ACL with deny ip any any above the allow ACE.
Move the permit ACE above this and that should resolve this issue.
Thanks and Regards,
Vibhor Amrodia
Hi,
The accompanying topology is not very clear to be honest , your definition of WCCP seems inaccurate to me - because the ASA acts as server and the Cache Engine , proxy , WAE etc is the client.
Also suggest you move your PC's one or two hops behind a Campus switch to make it more realistic. The drawing seems to suggest the client PC's need to be at the same segment as your inside interface of the ASA which is not true to the best of my knowledge - only the WCCP client and Server (respectively WAE/WSA and ASA) need to adhere to that requirement.
Also would be good to explain that ASA is doing everything in SW (it can only handle GRE outgoing and return - not L2 ) and is therefore not a suitable platform for sizable designs.In our experience - around 8000 GRE sessions is about the upper limit - can you confirm this ?
regards
/R
Cisco has a new solution called ITD, which is much superior than WCCP.
Please see the blog : ITD: Load Balancing, Traffic Steering & Clustering using Nexus 5k/6k/7k
For example, here is a comparison of ITD with WCCP on Nexus switches:
Feature/Benefit | N7k WCCP | N7k ITD |
Appliance is unaware of the protocol | No | Yes |
Protocol support | IPv4 | IPv4, IPv6 |
Number of TCAM entries (say, 100 SVI, 8 nodes, 20 ACEs) | Very High 16000 | Very low 160 |
Weighted load-balancing | No | Yes |
User can specify which bits to use for load-balancing | No | Yes |
Number of nodes | 32 | 256 |
Support for IPSLA probes | No | Yes |
Support for Virtual IP | No | Yes |
Support for L4-port load-balancing | No | Yes |
Capability to choose src or dest IP for load-balancing | No | Yes |
Customer support needs to look at switch only, or both the switch and appliance | Both | Switch only |
Supervisor CPU Overhead | High | None |
DCNM Support | No | Yes |
EA,
ITD -might- be a great solution, but the documentation is abysmal which renders it unusable.
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: