06-27-2012 06:42 AM
I have configured the wccp in 3750 switch, my network toplogy as below:
the 3750 wccp configuration and debug information as follow:
ip wccp 80 group-list 15
ip wccp 97 group-list 15
ip wccp 99 group-list 15
!
interface GigabitEthernet1/0/28
switchport access vlan 102
switchport mode access
!
interface Vlan24
description internet
ip address 220.243.2.250 255.255.255.248
!
interface Vlan100
description wccp-redirector
ip address 220.243.2.241 255.255.255.248
ip wccp 80 group-listen
ip wccp 97 group-listen
ip wccp 99 group-listen
!
interface Vlan102
description member
ip address 220.243.2.54 255.255.255.252
ip wccp 80 redirect in
ip wccp 97 redirect in
ip wccp 99 redirect in
access-list 15 permit 220.243.2.243
Switch#show ip wccp
Global WCCP information:
Router information:
Router Identifier: 220.243.2.250
Protocol Version: 2.0
Service Identifier: 80
Number of Service Group Clients: 1
Number of Service Group Routers: 1
Total Packets s/w Redirected: 0
Process: 0
CEF: 0
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: 15
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 0
Service Identifier: 97
Number of Service Group Clients: 1
Number of Service Group Routers: 0
Total Packets s/w Redirected: 1
Process: 0
CEF: 0
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: 15
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 0
Service Identifier: 99
Number of Service Group Clients: 1
Number of Service Group Routers: 1
Total Packets s/w Redirected: 0
Process: 0
CEF: 0
Redirect access-list: -none-
Total Packets Denied Redirect: 0
Total Packets Unassigned: 0
Group access-list: 15
Total Messages Denied to Group: 0
Total Authentication failures: 0
Total Bypassed Packets Received: 0
!
Switch#show ip wccp 80 de
WCCP Client information:
WCCP Client ID: 220.243.2.243
Protocol Version: 2.0
State: Usable
Redirection: L2
Packet Return: L2
Packets Redirected: 0
Connect Time: 03:48:08
Assignment: MASK
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x00001741 0x00000000 0x0000 0x0000
Value SrcAddr DstAddr SrcPort DstPort CE-IP
----- ------- ------- ------- ------- -----
0000: 0x00000000 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0001: 0x00000001 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0002: 0x00000040 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0003: 0x00000041 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0004: 0x00000100 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0005: 0x00000101 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0006: 0x00000140 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0007: 0x00000141 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0008: 0x00000200 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0009: 0x00000201 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0010: 0x00000240 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0011: 0x00000241 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0012: 0x00000300 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0013: 0x00000301 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0014: 0x00000340 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0015: 0x00000341 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0016: 0x00000400 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0017: 0x00000401 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0018: 0x00000440 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0019: 0x00000441 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0020: 0x00000500 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0021: 0x00000501 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0022: 0x00000540 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0023: 0x00000541 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0024: 0x00000600 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0025: 0x00000601 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0026: 0x00000640 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0027: 0x00000641 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0028: 0x00000700 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0029: 0x00000701 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0030: 0x00000740 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0031: 0x00000741 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0032: 0x00001000 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0033: 0x00001001 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0034: 0x00001040 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0035: 0x00001041 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0036: 0x00001100 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0037: 0x00001101 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0038: 0x00001140 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0039: 0x00001141 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0040: 0x00001200 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0041: 0x00001201 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0042: 0x00001240 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0043: 0x00001241 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0044: 0x00001300 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0045: 0x00001301 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0046: 0x00001340 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0047: 0x00001341 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0048: 0x00001400 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0049: 0x00001401 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0050: 0x00001440 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0051: 0x00001441 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0052: 0x00001500 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0053: 0x00001501 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0054: 0x00001540 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0055: 0x00001541 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0056: 0x00001600 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0057: 0x00001601 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0058: 0x00001640 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0059: 0x00001641 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0060: 0x00001700 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0061: 0x00001701 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0062: 0x00001740 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
0063: 0x00001741 0x00000000 0x0000 0x0000 0xDCF302F3 (220.243.2.243)
Switch# debug ip wccp packets
WCCP packet info debugging is on
Switch#
*Mar 1 03:50:33.124: WCCP-PKT:D99: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055D
*Mar 1 03:50:33.124: WCCP-PKT:D80: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055D
*Mar 1 03:50:33.124: WCCP-PKT:D97: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055D
*Mar 1 03:50:43.132: WCCP-PKT:D99: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055E
*Mar 1 03:50:43.132: WCCP-PKT:D80: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055E
*Mar 1 03:50:43.132: WCCP-PKT:D97: Sending I_See_You packet to 220.243.2.243 w/ rcv_id 0000055E
the wccp L2 adjacency is estanlished , but no packets have been redirected, who can help me to solve this problem ? THX
06-27-2012 06:47 AM
Version:1.0 StartHTML:0000000149 EndHTML:0000000586 StartFragment:0000000199 EndFragment:0000000552 StartSelection:0000000199 EndSelection:0000000552
Dan,
I would check 2 things.
1: Switch Multicast routing
2: SDM template on switch should be set to “routing”
Let me know who above are setup. Thanks.
Ahsan
06-28-2012 04:58 AM
Hi ahskhan:
thanks for your help!
I have already configured the SDM template :
Switch(config)#do show sdm pre rou
"desktop routing" template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 3K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 11K
number of directly-connected IPv4 hosts: 3K
number of indirect IPv4 routes: 8K
number of IPv4 policy based routing aces: 0.5K
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
but the wccp still can't redirect the packets.
there is only one cache server connected to the switch, it must configure the mrouting ?
07-01-2012 11:09 PM
Dan cache engine is registered and mask bucket is created, so there should be redirection. but i beleive show ip wccp 80 detail shall not show you redirection as the counter in the command is for S/w redirection while switch will perform H/w redirection.
Can you use some other mechanism like packet capture to confirm whether redirection is there or not.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide