Send document comments to nexus7k-docfeedback@cisco.com.
5-12
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 5 Configuring WCCPv2
Verifying WCCPv2 Configuration
The following example shows how to configure WCCPv2 in VRF Red on interface Ethernet 2/1:
switch# config t
switch(config)# vrf context Red
switch(config-vrf)# ip wccp web-cache password Test1 redirect-list httpTest
switch(config-vrf)# interface ethernet 2/1
switch(config-if)# vrf member Red
switch(config-if)# ip wccp web-cache redirect out
Verifying WCCPv2 Configuration
To display WCCPv2 configuration information, perform one of the following tasks:
To clear WCCPv2 statistics, use the clear ip wccp command.
WCCPv2 Example Configuration
This example shows how to configure WCCPv2 authentication on router redirect web-related packets
without a destination of 192.0.2.1 to the web cache:
access-list 100
deny ip any host 192.0.2.1
permit ip any any
feature wccp
ip wccp web-cache password 0 Test1 redirect-list 100
interface ethernet 1/2
ip wccp web-cache redirect out
no shutdown
Note See the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.x for information
about IP access lists.
Command Purpose
show ip wccp [vrf vrf-name] [service-number |
web-cache]
Displays the WCCPv2 status for all groups or one
group in a VRF.
show ip wccp [service-number | web-cache] Displays the WCCPv2 service group status.
show ip wccp [service-number | web-cache]
detail
Displays the clients in a WCCPv2 service group.
show ip wccp [service-number | web-cache]
mask
Displays the WCCPv2 mask assignment.
show ip wccp [service-number | web-cache]
service
Displays the WCCPv2 service group definition.
show ip wccp [service-number | web-cache] view Displays the WCCPv2 group membership.