cisco WCCP — Configuring Closed Services

Configuring WCCP Configuring Closed Services Command or Action Purpose Device# configure terminal Step 3 Enter one of the following commands: • ip wccp [vrf vrf-name] service-number [service-list service-access-list mode {open | closed}] • ip wccp [vrf vrf-name] web-cache mode {open | closed} Example: Device(config)# ip wccp 90 service-list 120 mode closed or Device(config)# ip wccp web-cache mode closed Configures a dynamic WCCP service as closed or open. or Configures a web cache service as closed or open. Note When configuring the web cache service as a closed service, you cannot specify a service access list.

Note When configuring a dynamic WCCP service as a closed service, you must specify a service access list. Step 4 ip wccp [vrf vrf-name] check services all Example: Device(config)# ip wccp check services all (Optional) Enables a check of all the WCCP services. Use this command to configure WCCP to check the other configured services for a match and perform redirection for those services if appropriate. The caches to which packets are redirected can be controlled by the redirect ACL and not just the service description. Note The ip wccp check services all command is a global WCCP command that applies to all services and not associated with just a single service.

Step 5 ip wccp {web-cache | service-number} Example: Device(config)# ip wccp 201 Specifies the WCCP service identifier. • You can specify the standard web cache service or a dynamic service number from 0 to 255. • The maximum number of services that can be specified is 256. Step 6 exit Example: Device(config)# exit Exits to privileged EXEC mode. Configuring WCCP 11