Use the wccp command to configure the Web Cache Communications Protocol (WCCP).Use the no form of the command to remove a WCCP configuration.wccp multicast-ttl <1..15>wccp <51..255> assignment method {hash | mask | either} assignment-detail {lan-ingress | wan-ingress}wccp <51..255> assignment method {hash | mask | either} assignment-detail custom hash-srcip {enable | disable} hash-dstip {enable | disable} hash-srcport {enable | disable} hash-dstport {enable | disable} mask-srcip <32-bit value in hex> mask-dstcip <32-bit value in hex> mask-srcport <16-bit value in hex> mask-dstport <16-bit value in hex>wccp <51..255> router <IP address> protocol {tcp | udp} interface {lan0 | wan0} priority <0..255> [forwarding-method {gre | l2 | either}]wccp <51..255> router <IP address> protocol {tcp | udp} interface {lan0 | wan0} priority <0..255> forwarding-method {gre | l2 | either} [weight <0..65535>]wccp <51..255> router <IP address> protocol {tcp | udp} interface {lan0 | wan0} priority <0..255> forwarding-method {gre | l2 | either} weight <0..65535> [password <password>]no wccp <51..255>
wccp <51..255>
• custom – Assignment by custom values
• lan-ingress – Assignment by hash default. Uses the source address for distribution
• wan-ingress – Assignment by mask default. Uses the destination address for distribution in the router/L3 switch table.
• hash-srcip {enable | disable} – Enable/disable using the hash source IP
• hash-dstip {enable | disable} – Enable/disable using the hash destination IP
• hash-srciport {enable | disable} – Enable/disable using the hash source port
• hash-dstport {enable | disable} – Enable/disable using the hash destination port
•
•
•
• Modifies the service group assignment method. This relates to how load balancing (of what packets go to which appliance) is set up with the router. The options are:
•
•
• either – The assignment method is either hash or mask. In other words, the appliances will accept packets of either method from the router. If a WCCP group is peering with a router running Nexus OS, then the appliance must adjust its WCCP protocol packets to be compatible. By default, the appliance is IOS-compatible. When WCCP has negotiated L3 forwarding and return methods, Force L2 Return can be used to strip the WCCP GRE header from any packets returned to the router (that is, pass-through traffic). This feature is not applicable if the negotiated forwarding method is L2.NOTE: Routing loops may occur if L2 returned packets are forwarded again to the appliance by a WCCP group.
• GRE forwarding method
• L2 forwarding method
• Either forwarding method interface {lan0 | wan0} multicast-ttl <1..15> service-grp <51..255> router <IP address> priority <0..255> weight <0..100> Specifies the WCCP service group weight. 100 is the highest weight. When there is more than one appliance in a group, weight is used to distribute hash or mask assignment buckets on the router in order to load balance flows.To generate output for the assignment and detail arguments, you must enable WCCP after configuration.
Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com. |