Cisco Catalyst 3550 series Software Configuration Manual page 787

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 33
Configuring Web Cache Services By Using WCCP
Command
Step 12
ip wccp web-cache redirect in
Step 13
exit
Step 14
end
Step 15
show ip wccp web-cache
and
show running-config
Step 16
copy running-config startup-config
To disable the web cache service, use the no ip wccp web-cache global configuration command. To
disable inbound packet redirection, use the no ip wccp web-cache redirect in interface configuration
command.
This example shows how to configure routed interfaces and to enable the web cache service. Fast
Ethernet interface 0/1 is connected to the cache engine, is configured as a routed port with an IP address
of 172.20.10.30, and is re-enabled. Gigabit Ethernet interface 0/1 is connected through the Internet to
the web server, is configured as a routed port with an IP address of 175.20.20.10, and is re-enabled. Fast
Ethernet interfaces 0/2 to 0/5 are connected to the clients and are configured as routed ports with IP
addresses 175.20.30.20, 175.20.40.30, 175.20.50.40, and 175.20.60.50. The switch redirects HTTP
packets received from the client interfaces to the cache engine.
Switch# configure terminal
Switch(config)# ip wccp web-cache
Switch(config)# interface fastethernet0/1
Switch(config-if)# no switchport
Switch(config-if)# ip address 172.20.10.30 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no switchport
Switch(config-if)# ip address 175.20.20.10 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# interface fastethernet0/2
Switch(config-if)# no switchport
Switch(config-if)# ip address 175.20.30.20 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# ip wccp web-cache redirect in
Switch(config-if)# exit
Switch(config)# interface fastethernet0/3
Switch(config-if)# no switchport
Switch(config-if)# ip address 175.20.40.30 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# ip wccp web-cache redirect in
Switch(config-if)# exit
Switch(config)# interface fastethernet0/4
Switch(config-if)# no switchport
Switch(config-if)# ip address 175.20.50.40 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# ip wccp web-cache redirect in
Switch(config-if)# exit
78-11194-09
Purpose
Redirect packets received from the client to the cache engine.
Return to global configuration mode. Repeat Steps 8 through 13 for each
client.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring WCCP
33-7

Advertisement

Table of Contents
loading

Table of Contents