228 CHAPTER 24: WEB CACHE REDIRECTION CONFIGURATION GUIDE
interface Ethernet1/0/1
port access vlan 10
#
interface Ethernet1/0/2
port access vlan 20
#
interface Ethernet1/0/3
port access vlan 30
#
interface Ethernet1/0/4
port link-type trunk
port trunk permit vlan 1 40 50
webcache address 192.168.4.2 mac 0012-0990-2250 vlan 40
#
webcache redirect-vlan 10
webcache redirect-vlan 20
webcache redirect-vlan 30
#
Precautions When configuring Web cache redirection, consider the following:
■ To ensure the success of Web cache redirection, check that the VLAN-interfaces
for all the involved VLANs (VLAN 40, VLAN 10, VLAN 20, and VLAN 30) are up.
■ Do not redirect the HTTP packets destined for VLAN 40 to the Web cache
server.
■ Enabling STP can cause Web cache redirection failure. To avoid this, set the port
connected to the Web cache server as a hybrid or trunk port and configure the
port to permit the packets of the VLAN for the Internet access service (for
example, VLAN 50 in Figure 66).