Chapter 19: Access Control List Configuration Guide272 SmartSwitch Router User Reference ManualRedirecting HTTP Traffic to Cache ServersYou can use a Profile ACL to specify which HTTP traffic should always (or never) beredirected to the cache servers. (By default, when Web caching is enabled, all HTTP trafficfrom all hosts is redirected to the cache servers unless you specify otherwise.)For example, you can specify that packets with a source address of 10.10.10.10 and adestination address of 1.2.3.4 always are sent to the Internet and never to the cacheservers. The following commands illustrate this example.This command creates a Profile ACL called prof4 that uses as its selection criteria allpackets with a source address of 10.10.10.10 and a destination address of 1.2.3.4 :The following command creates a Web caching policy that prevents packets matchingProfile ACL prof4’s selection criteria (that is, packets with a source address of 10.10.10.10and a destination address of 1.2.3.4) from being redirected to a cache server. Packets thatmatch the profile’s selection criteria are sent to the Internet instead.When the Web caching policy is applied to an interface (with the web-cache applyinterface command), HTTP traffic with a source address of 10.10.10.10 and a destinationaddress of 1.2.3.4 goes to the Internet instead of to the cache servers.Preventing Web Objects From Being CachedYou can also use a Profile ACL to prevent certain Web objects from being cached. Forexample, you can specify that information in packets originating from Internet site 1.2.3.4and destined for local host 10.10.10.10 not be sent to the cache servers. The followingcommands illustrate this example.This command creates a Profile ACL called prof5 that uses as its selection criteria allpackets with a source address of 1.2.3.4 and a destination address of 10.10.10.10:To have packets matching Profile ACL prof5’s selection criteria bypass the cache servers,use the following command:When the Web caching policy is applied to an interface, information in packets originatingfrom source address 1.2.3.4 and destined for address 10.10.10.10 is not sent to the cacheservers.See “Web Caching” on page 244 for more information on using the web-cache command.ssr(config)# acl prof4 permit ip 10.10.10.10 1.2.3.4ssr(config)# web-cache policy1 deny hosts profile prof4ssr(config)# acl prof5 permit ip 1.2.3.4 10.10.10.10ssr(config)# web-cache policy1 create bypass-list profile prof5