ip twcb redirect out

Use this command to specify that HTTP traffic egressing the router from this VLAN should be evaluated to see if it needs to be redirected to the specified IPv4 web cache.

Syntax

ip twcb ipv4-webcache-name redirect out
no ip twcb ipv4-webcache-name

Parameters

webcache-name Specifies the name of the IPv4 web cache to redirect outbound HTTP traffic to.

Defaults

None.

Mode

Configuration command, Interface Configuration mode.

Usage

The outbound interface is typically an interface that connects to the Internet. The outbound interface can be a VLAN, L3 tunnel, or L2 tunnel. Associate the specified IPv4 web cache to the indicated interface for redirection of HTTP traffic. Up to 3 interfaces can be associated with an IPv4 or IPv6 web cache.

You can configure up to 10 web caches on an interface.

Multiple web caches can be specified in a single command if the prefix characters for the caches are unique to all caches to be configured. For example, if three web caches were named: wc_one, wc_two, and wc_three, all three web caches could be configured for redirect out in a single command by specifying wc_ as the webcache-name. Or wc_two and wc_three could be configured for redirect out in a single command line by specifying wc_t as the webcache-name.

Example

This example associates the cache1 IPv4 web cache with vlan 1 for the redirection of HTTP traffic:

System(rw)->configure
System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip twcb cache1 redirect out