1-9
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Cache Services By Using WCCP
Configuring WCCP
This example shows how to configure SVIs and how to enable the cache service with a multicast group
list. VLAN 299 is created and configured with an IP address of 175.20.20.10. Gigabit Ethernet port 1 is
connected through the Internet to the server and is configured as an access port in VLAN 299. VLAN
300 is created and configured with an IP address of 172.20.10.30. Gigabit Ethernet port 2 is connected
to the application engine and is configured as an access port in VLAN 300. VLAN 301 is created and
configured with an IP address of 175.20.30.50. Fast Ethernet ports 3 to 6, which are connected to the
clients, are configured as access ports in VLAN 301. The switch redirects packets received from the
client interfaces to the application engine.
Note
Beginning with Cisco IOS Release 12.2(58)SE, both
permit
and
deny
ACL entries are supported in
WCCP redirect lists.
Switch#
configure terminal
Switch(config)#
ip wccp web-cache 80 group-list 15
Switch(config)#
access-list 15 permit host 171.69.198.102
Switch(config)#
access-list 15 permit host 171.69.198.104
Switch(config)#
access-list 15 permit host 171.69.198.106
Switch(config)#
vlan 299
Switch(config-vlan)#
exit
Switch(config)#
interface vlan 299
Switch(config-if)#
ip address 175.20.20.10 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface gigabitethernet1/0/1
Switch(config-if)#
switchport mode access
Switch(config-if)#
switchport access vlan 299
Switch(config)#
vlan 300
Switch(config-vlan)#
exit
Switch(config)#
interface vlan 300
Switch(config-if)#
ip address 171.69.198.100 255.255.255.0
Switch(config-if)#
exit
Switch(config)#
interface gigabitethernet1/0/2
Switch(config-if)#
switchport mode access
Switch(config-if)#
switchport access vlan 300
Switch(config-if)#
exit
Switch(config)#
vlan 301
Switch(config-vlan)#
exit
Switch(config)#
interface vlan 301
Switch(config-if)#
ip address 175.20.30.20 255.255.255.0
Switch(config-if)#
ip wccp web-cache redirect in
Switch(config-if)#
exit
Switch(config)#
interface range gigabitethernet1/0/3 - 6
Switch(config-if-range)#
switchport mode access
Switch(config-if-range)#
switchport access vlan 301
Switch(config-if-range)#
exit
Содержание Catalyst 3560-X Series
Страница 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Страница 1416: ...1 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Chapter 1 Troubleshooting Troubleshooting Tables ...
Страница 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...