Cisco Systems EA6500 Manual De Usuario

Descargar
Página de 570
 
35-15
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 35      Configuring Web Cache Services Using WCCP
WCCP Configuration Examples
The following example configures a router to redirect web-related packets received through interface 
ethernet 0/1, destined to any host except 209.165.196.51:
Router(config)# access-list 100 deny ip any host 209.165.196.51
Router(config)# access-list 100 permit ip any any
Router(config)# ip wccp web-cache redirect-list 100
Router(config)# interface Ethernet 0/1
Router(config-if)# ip wccp web-cache redirect in
Setting a Password for a Router and Cache Engines Example
The following example shows a WCCPv2 password configuration session where the password is 
alaska1:
router# configure terminal
router(config)# ip wccp web-cache password alaska1
Verifying WCCP Settings Example
To verify your configuration changes, use the more system:running-config EXEC command. The 
following example shows that the both the web cache service and dynamic service 99 are enabled on the 
router:
router# more system:running-config
Building configuration...
Current configuration: 
version 12.1 
service timestamps debug uptime 
service timestamps log uptime 
no service password-encryption 
service udp-small-servers 
service tcp-small-servers 
hostname router4 
enable secret 5 $1$nSVy$faliJsVQXVPW.KuCxZNTh1 
enable password alabama1
ip subnet-zero 
ip wccp web-cache 
ip wccp 99 
ip domain-name cisco.com 
ip name-server 10.1.1.1
ip name-server 10.1.1.2
ip name-server 10.1.1.3
interface Ethernet0 
ip address 10.3.1.2 255.255.255.0 
no ip directed-broadcast 
ip wccp web-cache redirect out 
ip wccp 99 redirect out 
no ip route-cache 
no ip mroute-cache