Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Calculating HASH values with WCCP

Ok, I'm just not getting the HASH calculations.  Can somebody please explain how the HASH values translate into subnets?

Thanks,
Patrick

Everyone's tags (2)
1 REPLY

Re: Calculating HASH values with WCCP

Patrick,

I'm not a 100% sure of the algorithm used to determine what subnet is assigned to which WCCP bucket.  However, I do know it involves an XOR of various L3 and L4 header fields in the packet.

To view the how the calculation has been performed you can run the hidden IOS command

show ip wccp hash <dst-ip> <src-ip> <dst-port> <src-port>

Router# show ip wccp 61 hash 0.0.0.0 10.88.81.10 0 0

WCCP hash information for:

    Primary Hash:   Src IP: 10.88.81.10

  Bucket:   9

    WCCP Client: 10.88.81.12

Router#

Hope this helps,

Mike Korenbaum

----

Cisco WAAS PDI Help Desk

http://www.cisco.com/go/pdihelpdesk

1322
Views
0
Helpful
1
Replies
CreatePlease to create content