Configuration Commands : wccp

wccp
Description
Use the wccp command to configure the Web Cache Communications Protocol (WCCP).
Use the no form of the command to remove a WCCP configuration.
Syntax
wccp {enable | disable}
wccp multicast-ttl <1..15>
wccp <51..255> admin {up | down}
wccp <51..255> assignment method {hash | mask | either}
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> compatibility-mode {ios | nexus}
wccp <51..255> force-l2-return {enable | disable}
wccp <51..255> forwarding-method {gre | l2 | either}
wccp <51..255> password <password>
wccp <51..255> router <IP address> protocol {tcp | udp} interface {lan0 | wan0}
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>]
wccp <51..255> weight <weight>
no wccp <51..255>
Arguments
wccp <51..255>
assignment-detail {custom | lan-ingress | wan-ingress}
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
mask-srcip <32-bit value in hex> – Specifies the mask source IP as a 32-bit hex value
mask-dstip <32-bit value in hex> – Specifies the mask destination IP as a 32-bit hex value
mask-srcport <16-bit value in hex> – Specifies the mask source port as a 16-bit hex value
mask-dstport <16-bit value in hex> – Specifies the mask destination port as a 16-bit hex value
assignment-method {hash | mask | either}
either – The assignment method is either hash or mask. In other words, the appliances will accept packets of either method from the router.
compatibility-mode {ios | nexus}
forwarding-method {gre | l2 | either}
GRE forwarding method
L2 forwarding method
Either forwarding method
interface {lan0 | wan0}
password <password>
service-grp <51..255>
router <IP address>
protocol {tcp | udp}
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.
Defaults
None.
Command Mode
Global Configuration Mode
See Also
See “show wccp”.
Usage Guidelines
To generate output for the assignment and detail arguments, you must enable WCCP after configuration.
Examples
None.
 

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.