[nsp] 7600 IOS SLB/WCCP for transparent cache

Lincoln Dale ltd@cisco.com
Thu, 21 Nov 2002 17:12:34 +1100


At 10:49 PM 20/11/2002 -0700, Clinton Work wrote:
>Is there a way to tell which method is being used?

"show ip wccp [service] detail" will explicitly tell you the redirection 
method & Hash Assignment method used.

in your case, it has said that the redirect-method is L2 (rather than GRE).

as far the Hash Assignment, if it doesn't mention it, then i can almost 
guarantee that you're running XOR Hashing.  (that was the only method 
available before Mask Assignment appeared).
note that you need 12.1(13)E.  ("Mask Assignment" first appeared in 
12.1(xx)EX where i think 'xx' was 11, but i could be wrong on the exact 
version.)

if you're running 12.1(13)E or later, you'd get something like:

mel-stglab-c6509#show ip wccp web-cache detail
WCCP Cache-Engine information:
         IP Address:            30.1.1.13
         Protocol Version:      2.0
         State:                 Usable
         Redirection:           L2
         Packet Return:         GRE
         Packets Redirected:    0
         Connect Time:          19:14:06
         Assignment:            MASK

         Mask  SrcAddr    DstAddr    SrcPort DstPort
         ----  -------    -------    ------- -------
         0000: 0x00000000 0x00001741 0x0000  0x0000

         Value SrcAddr    DstAddr    SrcPort DstPort CE-IP
         ----- -------    -------    ------- ------- -----
         0000: 0x00000000 0x00000000 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0001: 0x00000000 0x00000001 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0002: 0x00000000 0x00000040 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0003: 0x00000000 0x00000041 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0004: 0x00000000 0x00000100 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0005: 0x00000000 0x00000101 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0006: 0x00000000 0x00000140 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0007: 0x00000000 0x00000141 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0008: 0x00000000 0x00000200 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0009: 0x00000000 0x00000201 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0010: 0x00000000 0x00000240 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0011: 0x00000000 0x00000241 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0012: 0x00000000 0x00000300 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0013: 0x00000000 0x00000301 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0014: 0x00000000 0x00000340 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0015: 0x00000000 0x00000341 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0016: 0x00000000 0x00000400 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0017: 0x00000000 0x00000401 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0018: 0x00000000 0x00000440 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0019: 0x00000000 0x00000441 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0020: 0x00000000 0x00000500 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0021: 0x00000000 0x00000501 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0022: 0x00000000 0x00000540 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0023: 0x00000000 0x00000541 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0024: 0x00000000 0x00000600 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0025: 0x00000000 0x00000601 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0026: 0x00000000 0x00000640 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0027: 0x00000000 0x00000641 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0028: 0x00000000 0x00000700 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0029: 0x00000000 0x00000701 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0030: 0x00000000 0x00000740 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0031: 0x00000000 0x00000741 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0032: 0x00000000 0x00001000 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0033: 0x00000000 0x00001001 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0034: 0x00000000 0x00001040 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0035: 0x00000000 0x00001041 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0036: 0x00000000 0x00001100 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0037: 0x00000000 0x00001101 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0038: 0x00000000 0x00001140 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0039: 0x00000000 0x00001141 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0040: 0x00000000 0x00001200 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0041: 0x00000000 0x00001201 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0042: 0x00000000 0x00001240 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0043: 0x00000000 0x00001241 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0044: 0x00000000 0x00001300 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0045: 0x00000000 0x00001301 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0046: 0x00000000 0x00001340 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0047: 0x00000000 0x00001341 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0048: 0x00000000 0x00001400 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0049: 0x00000000 0x00001401 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0050: 0x00000000 0x00001440 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0051: 0x00000000 0x00001441 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0052: 0x00000000 0x00001500 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0053: 0x00000000 0x00001501 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0054: 0x00000000 0x00001540 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0055: 0x00000000 0x00001541 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0056: 0x00000000 0x00001600 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0057: 0x00000000 0x00001601 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0058: 0x00000000 0x00001640 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0059: 0x00000000 0x00001641 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0060: 0x00000000 0x00001700 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0061: 0x00000000 0x00001701 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0062: 0x00000000 0x00001740 0x0000  0x0000  0x1E01010D (30.1.1.13)
         0063: 0x00000000 0x00001741 0x0000  0x0000  0x1E01010D (30.1.1.13)

cheers,

lincoln.