Specific Traffic Redirection

To configure specific traffic redirection on the router

client-SH (config) # wccp service-group 90 routers 10.1.0.1 flags ports- destination ports 135,139,445,21,80

If redirection is based on traffic characteristics other than ports, Access Control Lists (ACLs) on the router can define what traffic is redirected.

For example, if you only want the traffic destined for IP address 10.2.0.0/16 to be redirected to the HP EFS WAN Accelerator, you would configure the router in the following manner.

On the router, enter the following set of commands:

Router> enable

Router# configure terminal Router(config)# ip wccp version 2

Router(config)# access-list 101 permit tcp any 10.2.0.0 255.255.0.0 Router(config)# ip wccp 90 redirect-list 101

Router(config)# interface fastEthernet 0/0 Router(config-if)# ip wccp 90 redirect in Router(config-if)# end

Router#

TIP: Enter configuration commands, one per line. End each command with CTRL-Z.

7 - WCCP DEPLOYMENTS

Load Balancing

To change the hashing scheme and assign a weight

Failover

Support

You can load-balance using WCCP. Traffic is redirected based on a hashing scheme and the weight of the HP EFS WAN Accelerators. You can hash on a combination of the source IP address, destination IP address, source port, or destination port. The default weight is based on the HP EFS WAN Accelerator model (for example, for the Model 5000 the weight would be 5000). You can modify the default weight.

For example, to configure load balancing, you change the hashing scheme to hash on a destination IP and port and specify a weight on the HP EFS WAN Accelerator. (You do not need to configure the router.)

1.On the client-side HP EFS WAN Accelerator, enter the following command:

client-SH (config) # wccp service-group 90 routers 10.1.0.1 flags dst- ip-hash,dst-port-hash

2.To change the weight on the client-side HP EFS WAN Accelerator, enter the following command:

client-SH (config) # wccp service-group 90 routers 10.1.0.1 weight 20

You can also provide failover support using WCCP. In a failover configuration, the HP EFS WAN Accelerators periodically announce themselves to the routers. If an HP EFS WAN Accelerator fails, traffic is redirected to the working HP EFS WAN Accelerators.

For example, instead of load balancing traffic between two HP EFS WAN Accelerators, you might want traffic to go to only one HP EFS WAN Accelerator and to failover to the other HP EFS WAN Accelerator if the first one fails.

HP STORAGEWORKS ENTERPRISE FILE SERVICES WAN ACCELERATOR 2.1.5 DEPLOYMENT GUIDE

81

Page 87
Image 87
HP Enterprise File Services WAN Accelerator manual Load Balancing, Failover Support