cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1839
Views
10
Helpful
4
Replies

WAE, how to control load share with WCCP

jason_majie
Level 1
Level 1

Hi All:

I have attached a simply diagram here, basically, in core area, i have two routers and one big WAE appliance; at the edge area, i have two routers and two small WAE appliances.

at most of the time, the traffics are asymetric. (please see the red broken arrow line in the attached file). i have enabled WCCP on the four routers, i want to ask: how to controll the WCCP load balance to make sure traffic going out from the same user and come back will always go through the same WAE at the edge site, which means the traffic going out and return will via the same pair of WAE, so the optimization will happen.

thanks

2 Accepted Solutions

Accepted Solutions

The WCCP database is replicated across both routers therefore asymetrical routing is NOT an issue.

View solution in original post

Jason,

The two edge routers will have the same WCCP Hash or Mask buckets which will determine which WAE to send the traffic to.

Assuming you are using software based routers at the edge and you've configured the default of Hash assignment on the edge WAEs you could use the following command on the routers to see where specific hosts will be sent based on the hash calculation.

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

Here is a sample output from my lab with two WAEs and two Routers (2821 and 2911):

########### Router1 #######################

pdi-2821-rtp#sh ip wccp 61 det

WCCP Client information:

WCCP Client ID:          14.110.3.130

Protocol Version:        2.0

State:                   Usable

Redirection:             GRE

Packet Return:           GRE

Assignment:              HASH

Initial Hash Info:       00000000000000000000000000000000

                         00000000000000000000000000000000

Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

                         00000000000000000000000000000000

Hash Allotment:          128 (50.00%)

Packets s/w Redirected:  14

Connect Time:            00:01:10

Bypassed Packets

  Process:               0

  CEF:                   0

  Errors:                0

WCCP Client ID:          14.110.3.131

Protocol Version:        2.0

State:                   Usable

Redirection:             GRE

Packet Return:           GRE

Assignment:              HASH

Initial Hash Info:       00000000000000000000000000000000

                         00000000000000000000000000000000

Assigned Hash Info:      00000000000000000000000000000000

                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Hash Allotment:          128 (50.00%)

Packets s/w Redirected:  0

Connect Time:            00:00:25

Bypassed Packets

  Process:               0

  CEF:                   0

  Errors:                0

pdi-2821-rtp#sh ip wccp 61 hash 0.0.0.0 14.110.3.117 0 0

WCCP hash information for:

    Primary Hash:   Src IP: 14.110.3.117

Bucket:  22

    WCCP Client: 14.110.3.131

pdi-2821-rtp#sh ip wccp 62 hash 14.110.3.117 0.0.0.0 0 0

WCCP hash information for:

    Primary Hash:   Dst IP: 14.110.3.117

Bucket:  22

    WCCP Client: 14.110.3.131

########### Router 2 #######################
pdi-2911-beta-rtp#sh ip wccp 61 det
WCCP Client information:
WCCP Client ID:          14.110.3.130
Protocol Version:        2.0
State:                   Usable
Redirection:             GRE
Packet Return:           GRE
Assignment:              HASH
Initial Hash Info:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                         00000000000000000000000000000000
Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                         00000000000000000000000000000000
Hash Allotment:          128 (50.00%)
Packets s/w Redirected:  0
Connect Time:            00:02:11
GRE Bypassed Packets
  Process:               0
  CEF:                   0
  Errors:                0
WCCP Client ID:          14.110.3.131
Protocol Version:        2.0
State:                   Usable
Redirection:             GRE
Packet Return:           GRE
Assignment:              HASH
Initial Hash Info:       00000000000000000000000000000000
                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Assigned Hash Info:      00000000000000000000000000000000
                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Hash Allotment:          128 (50.00%)
Packets s/w Redirected:  0
Connect Time:            00:02:10
GRE Bypassed Packets
  Process:               0
  CEF:                   0
  Errors:                0
pdi-2911-beta-rtp#sh ip wccp 61 hash 0.0.0.0 14.110.3.117 0 0
WCCP hash information for:
    Primary Hash:   Src IP: 14.110.3.117
Bucket:  22
    WCCP Client: 14.110.3.131
pdi-2911-beta-rtp#sh ip wccp 62 hash 14.110.3.117 0.0.0.0 0 0
WCCP hash information for:
    Primary Hash:   Dst IP: 14.110.3.117
Bucket:  22
    WCCP Client: 14.110.3.131
Hope this helps clarify things.
Regards,
Mike Korenbaum

Cisco WAAS PDI Help Desk

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

View solution in original post

4 Replies 4

jason_majie
Level 1
Level 1

the diagram here.

The WCCP database is replicated across both routers therefore asymetrical routing is NOT an issue.

Jason,

The two edge routers will have the same WCCP Hash or Mask buckets which will determine which WAE to send the traffic to.

Assuming you are using software based routers at the edge and you've configured the default of Hash assignment on the edge WAEs you could use the following command on the routers to see where specific hosts will be sent based on the hash calculation.

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

Here is a sample output from my lab with two WAEs and two Routers (2821 and 2911):

########### Router1 #######################

pdi-2821-rtp#sh ip wccp 61 det

WCCP Client information:

WCCP Client ID:          14.110.3.130

Protocol Version:        2.0

State:                   Usable

Redirection:             GRE

Packet Return:           GRE

Assignment:              HASH

Initial Hash Info:       00000000000000000000000000000000

                         00000000000000000000000000000000

Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

                         00000000000000000000000000000000

Hash Allotment:          128 (50.00%)

Packets s/w Redirected:  14

Connect Time:            00:01:10

Bypassed Packets

  Process:               0

  CEF:                   0

  Errors:                0

WCCP Client ID:          14.110.3.131

Protocol Version:        2.0

State:                   Usable

Redirection:             GRE

Packet Return:           GRE

Assignment:              HASH

Initial Hash Info:       00000000000000000000000000000000

                         00000000000000000000000000000000

Assigned Hash Info:      00000000000000000000000000000000

                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Hash Allotment:          128 (50.00%)

Packets s/w Redirected:  0

Connect Time:            00:00:25

Bypassed Packets

  Process:               0

  CEF:                   0

  Errors:                0

pdi-2821-rtp#sh ip wccp 61 hash 0.0.0.0 14.110.3.117 0 0

WCCP hash information for:

    Primary Hash:   Src IP: 14.110.3.117

Bucket:  22

    WCCP Client: 14.110.3.131

pdi-2821-rtp#sh ip wccp 62 hash 14.110.3.117 0.0.0.0 0 0

WCCP hash information for:

    Primary Hash:   Dst IP: 14.110.3.117

Bucket:  22

    WCCP Client: 14.110.3.131

########### Router 2 #######################
pdi-2911-beta-rtp#sh ip wccp 61 det
WCCP Client information:
WCCP Client ID:          14.110.3.130
Protocol Version:        2.0
State:                   Usable
Redirection:             GRE
Packet Return:           GRE
Assignment:              HASH
Initial Hash Info:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                         00000000000000000000000000000000
Assigned Hash Info:      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                         00000000000000000000000000000000
Hash Allotment:          128 (50.00%)
Packets s/w Redirected:  0
Connect Time:            00:02:11
GRE Bypassed Packets
  Process:               0
  CEF:                   0
  Errors:                0
WCCP Client ID:          14.110.3.131
Protocol Version:        2.0
State:                   Usable
Redirection:             GRE
Packet Return:           GRE
Assignment:              HASH
Initial Hash Info:       00000000000000000000000000000000
                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Assigned Hash Info:      00000000000000000000000000000000
                         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Hash Allotment:          128 (50.00%)
Packets s/w Redirected:  0
Connect Time:            00:02:10
GRE Bypassed Packets
  Process:               0
  CEF:                   0
  Errors:                0
pdi-2911-beta-rtp#sh ip wccp 61 hash 0.0.0.0 14.110.3.117 0 0
WCCP hash information for:
    Primary Hash:   Src IP: 14.110.3.117
Bucket:  22
    WCCP Client: 14.110.3.131
pdi-2911-beta-rtp#sh ip wccp 62 hash 14.110.3.117 0.0.0.0 0 0
WCCP hash information for:
    Primary Hash:   Dst IP: 14.110.3.117
Bucket:  22
    WCCP Client: 14.110.3.131
Hope this helps clarify things.
Regards,
Mike Korenbaum

Cisco WAAS PDI Help Desk

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

thanks a lot.

Review Cisco Networking for a $25 gift card