Send document comments to nexus7k-docfeedback@cisco.com.
5-11
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 5      Configuring WCCPv2
Configuring WCCPv2
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
vrf context 
vrf-name
Example:
switch(config)# vrf context Red
switch(config-vrf)#
Enters VRF configuration mode. The vrf-name can be 
any case-sensitive alphanumeric string up to 63 
characters.
Step 3
ip wccp {
service-number 
| web-cache}
 
[mode {open [redirect-list 
acl-name
] | 
closed service-list 
acl-name
}]] 
[password [0-7] 
pwstring
]
Example:
switch(config-vrf)# ip wccp 10
Example:
switch(config-vrf)# ip wccp web-cache 
password Test1 redirect-list httpTest
Creates an open or closed mode service group. The 
service list identifies a named extended IP access list 
that defines the packets that will match the service. 
This is required only when the service is defined as 
closed mode. 
Optional parameters include:
• mode—Configures the service group in open or 
closed mode. The default is open. For closed 
mode, configures an IP access list to define the 
traffic type that will match this service. 
• password—Configures MD5 authentication for a 
service group. Use password 0 pwstring to store 
the password in clear text. Use password 7 
pwstring to store the password in encrypted form. 
You can use the password 7 keywords for an 
already encrypted password.
• redirect-list—Configures a global WCCPv2 
redirection list for the service group to control the 
traffic that is redirected to the cache engine. 
• service-list—Configures an IP access list that 
defines the traffic type redirected by the service 
group.
The service-number range is from 1 to 255. The 
acl-name can be any case-sensitive alphanumeric 
string up to 64 characters. The pwstring can be any 
case-sensitive alphanumeric string up to eight 
characters
Step 4
show ip wccp [vrf 
vrf-name
]
Example:
switch(config-vrf)# show ip wccp vrf Red
(Optional) Displays information about WCCPv2. The 
vrf-name can be any case-sensitive alphanumeric 
string up to 64 characters.
Step 5
copy running-config startup-config
Example:
switch(config-vrf)# copy running-config 
startup-config
(Optional) Saves this configuration change.