net wccp
net wccp(1) BIG-IP TMSH Manual net wccp(1)
NAME
wccp - Configures Web Cache Communication Protocol (WCCP) services.
MODULE
net
SYNTAX
Configure the wccp component within the net module using the syntax in the following sections.
CREATE/MODIFY
create wccp [name]
modify wccp [name]
options:
app-service [[string] | none]
cache-timeout [integer]
description [string]
services [add | delete | replace-all-with] {
[object identifier] {
options:
alt-hash-fields [dest-ip | dest-port | src-ip | src-port | none]
app-service [[string] | none]
custom-mask[integer]
hash-fields [dest-ip | dest-port | src-ip | src-port | none]
password [string | none]
port-type [none | dest | source]
ports [integer]
priority [integer]
protocol [tcp | udp]
redirection-method [gre | l2]
return-method [gre | l2]
routers [add | delete | replace-all-with] {
[ip address ...]
}
traffic-assign [hash | mask]
tunnel-local-address [ip address]
tunnel-remote-addresses [add | delete | replace-all-with] {
[ip address ...]
}
weight [integer]
}
}
edit wccp [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
DISPLAY
list wccp
list wccp [ [ [name] | [glob] | [regex] ] ... ]
show running-config wccp
show running-config wccp [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
DELETE
delete wccp [name]
DESCRIPTION
You can use the wccp component to create and modify WCCPv2 service groups. WCCPv2 is a content-routing
protocol developed by Cisco Systems, Inc., which provides a mechanism to redirect traffic flows in real time.
A WCCP service in this context is a set of redirection criteria and processing instructions that the BIG-IP(r)
system applies to any traffic that a router in the service group redirects to the BIG-IP system.
EXAMPLES
list wccp service-wccp all-properties
Displays the services and their attributes in the service group named service-wccp.
modify server-wccp cache-timeout 40
Changes the cache-timeout setting to 40 for the service group named server-wccp.
modify server-wccp services modify { 77 {weight 60} }
Changes the weight setting to 60 for the service identified as 77 in the service group named server-wccp.
OPTIONS
app-service
Specifies the name of the application service to which the object belongs. The default value is none.
Note: If the strict-updates option is enabled on the application service that owns the object, you cannot
modify or delete the object. Only the application service can modify or delete the object.
cache-timeout
Specifies the frequency of control messages between the system and the router. The range is from 1 to 60
seconds. The default value is 10.
description
User-defined description.
glob Displays the items that match the glob expression. See help glob for a description of glob expression
syntax.
name Specifies a unique name for the component. This option is required for the commands create, delete, and
modify.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at
sign (@[regular expression]) to indicate that the identifier is a regular expression. See help regex for
a description of regular expression syntax.
services
Specifies the service group identifier, a number between 51 and 255 that matches a service ID configured
on the router.
Adds, deletes, or replaces a set of services. You can configure the following options for a service:
alt-hash-fields
Specifies to the router which traffic attributes to use to determine which BIG-IP system it should
forward traffic to for load balancing (traffic-assign mask) : destination IP address (dest-ip) or
destination port (dest-port) or source IP address (src-ip), or source port (src-port).
app-service
Specifies the name of the application service to which the service belongs. The default value is
none. Note: If the strict-updates option is enabled on the application service that owns the object,
you cannot modify or delete the service. Only the application service can modify or delete the
service.
custom-mask
Specifies the hexadecimal mask used when traffic-assign mask; it should have not more than 6 bits
ON.
hash-fields
Specifies to the router which traffic attributes to use to determine which BIG-IP system it should
forward traffic to for load balancing (traffic-assign hash): destination IP address (dest-ip),
destination port (dest-port), source IP address (src-ip), and/or source port (src-port).
object identifier
Specifies the service group identifier, a number between 51 and 255 that matches a service ID
configured on the router.
password
Specifies the password for MD5 authentication or none.
port-type
Specifies whether the WCCP interception of traffic is based on the destination port (dest) or source
port (source), or is not specified (none). The default value is none.
ports
Specifies one or more ports (up to 8) on which traffic is redirected.
priority
Specifies the precedence of the service group relative to the other service groups. The range is
from 1 to 255. The default value is 100.
protocol
Specifies the protocol of the traffic to be redirected: TCP (tcp) or UDP (udp). The default value is
tcp.
redirection
Specifies the method the router uses to redirect traffic: GRE gre or L2 l2. The default value is
gre.
return
Specifies the method used to return passthrough traffic to the router: GRE (gre) or L2 (l2). The
default value is gre.
routers
Specifies the IP addresses of the WCCP-enabled routers that redirect traffic.
traffic-assign
Specifies whether load balancing is achieved by a hash algorithm or a mask. If you specify hash,
specify one or more attributes using the option hash-fields. If you specify mask, specify one
attribute using the option alt-hash-fields
tunnel-local-address
Specifies an IP address on the BIG-IP system to which the WCCP-enabled routers should redirect
traffic. Specify a self IP address of an external VLAN on the BIG-IP system.
tunnel-remote-addresses
Specifies the Router Identifier IP address of the router that redirects traffic.
weight
Specifies the relative importance of this traffic in a load-balancing environment. The range is from
1 to 100. The default value is 50.
SEE ALSO
create, delete, edit, glob, list, modify, regex, show, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2010-2013. All rights reserved.
BIG-IP 2017-05-18 net wccp(1)