cisco WCCP — Configuring WCCP

You can use the clear wccp command to remove all WCCP statistics (counts) maintained on the device for a particular service. You can use the show wccp command to display all WCCP global statistics (counts). How to Configure WCCP The following configuration tasks assume that you have already installed and configured the content engines you want to include in your network. You must configure the content engines in the cluster before configuring the WCCP functionality on your routers or switches. See Cisco Cache Engine User Guide for content engine configuration and setup tasks. Configuring WCCP Perform this task to configure the WCCP.

Until you configure a WCCP service using the ip wccp { web-cache | service-number } global configuration command, WCCP is disabled on a device. Use the ip wccp web-cache password command to set a password for a device and the content engines in a service group. MD5 password security requires that each device and content engine that wants to join a service group be configured with the service group password. The password must be up to eight characters in length. Each content engine or device in the service group authenticates the security component in a received WCCP packet immediately after validating the WCCP message header. Packets failing authentication are discarded.

Procedure Configuring WCCP How to Configure WCCP Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ip wccp [vrf vrf-name] {web-cache | service-number} [group-address multicast-address] [redirect-list access-list] [group-list access-list] [password password [0 | 7] ] Example:

Device(config)# ip wccp web-cache password pwd Specifies a web cache or dynamic service to enable on a device, specifies the IP multicast address used by the service group, specifies the access lists to use, specifies whether to use MD5 authentication, and enables the WCCP service. Note The password length must not exceed eight characters. Configuring WCCP 9