cisco WCCP — Configuring Closed Services

Configuring Closed Services Perform this task to specify the number of service groups for WCCP, to configure a service group as a closed or open service, and to optionally specify a check of all services. Procedure Configuring WCCP Configuring Closed Services Command or Action Purpose Step 4 interface type number Example: Device(config)# interface Gigabitethernet 0/0 Targets an interface number for which the web cache service will run, and enters interface configuration mode. Step 5 ip wccp [vrf vrf-name] {web-cache | service-number} redirect {in | out} Example: Device(config-if)# ip wccp web-cache redirect in Enables packet redirection on an outbound or inbound interface using WCCP.

As indicated by the out and in keyword options, redirection can be specified for outbound interfaces or inbound interfaces. Step 6 exit Example: Device(config-if)# exit Exits interface configuration mode. Step 7 interface type number Example: Device(config)# interface GigabitEthernet 0/2/0 Targets an interface number on which to exclude traffic for redirection, and enters interface configuration mode. Step 8 ip wccp redirect exclude in Example: Device(config-if)# ip wccp redirect exclude in (Optional) Excludes redirect traffic from the specified interface. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted.

Step 2 configure terminal Example: Enters global configuration mode. Configuring WCCP 10