Chapter 17: Web Hosting Configuration Guide
246 SmartSwitch Router User Reference Manual
Configuration Example
In the following example, a cache group of seven local servers is configured to store Web
objects for users in the local network:
The following commands configure the cache group ‘cache1’ that contains the servers
shown in the figure above and applies the caching policy to the interface ‘ip1’:
Note that in this example, HTTP requests from all hosts in the network are redirected as
there are no web-cache permit or web-cache deny commands.
Other Configurations
This section discusses other commands that may be useful in configuring Web caching in
your network.
Bypassing Cache Servers
Some Web sites require source IP address authentication for user access, therefore HTTP
requests for these sites cannot be redirected to the cache servers. To specify the sites for
Router
186.89.10.51
176.89.10.50
176.89.10.51
176.89.10.52
176.89.10.53
176.89.10.54
186.89.10.55
s1 Servers:
s2 Servers:
Cache1
Global Internet
ip1
Users
ssr(config)# web-cache cache1 create server-list s1 range “176.89.10.50
176.89.10.54”
ssr(config)# web-cache cache1 create server-list s2 list “186.89.10.51
186.89.10.55”
ssr(config)# web-cache cache1 apply interface ip1