Specifications
Configuring TWCB
April 16, 2009 Page 9 of 14
Configuring the Web-Cache
Procedure 3describeshowtoconfigureaTWCBweb‐cache.
Configuring the Outbound Interface
ConfiguringanHTTPoutboundinterfaceconsistsofsettingtheredirectionofoutboundHTTP
trafficfromthisinterfacetothecacheservers.
Procedure 4describeshowtoconfigurethisinterfaceforHT TPoutboundredirection.
Configuring the Switch and Router
Procedure 5describeshowtoconfigureTWCBswitchandrouterrelatedparameters.
Procedure 3 TWCB Web-Cache Configuration
Step Task Command(s)
1. Create a web-cache using the specified name. ip twcb webcache web-cache-name
2. Add the specified server farm to this web-cache. serverfarm serverfarm-name
3. Optionally redirect outbound HTTP requests to a
non-standard HTTP port number.
http-port port-number
4. Optionally specify web host sites for which
HTTP requests are not redirected to the cache
servers.
bypass-list range begin-ip-address
end-ip-address
5. Optionally permit or deny redirection of HTTP
requests for the list of end-users to this
web-cache.
hosts {permit | deny} redirect range
begin-ip-address end-ip-address
6. Place this web-cache in service. inservice
Procedure 4 HTTP Outbound Interface Configuration
Step Task Command(s)
1. Redirect outbound HTTP traffic from this
outbound interface to the cache servers.
ip twcb webcache-name redirect out
Procedure 5 TWCB Switch and Router Mode Configuration
Step Task Command(s)
1. Optionally set or reset TWCB bindings, cache,
and configuration limits.
set router limits {twcb-bindings
twcb-bindings | twcb-cache twcb-cache |
twcb-configs 1}
clear router limits [twcb-binding]
[twcb-cache] [twcb-configs]
2. Optionally reset the statistical data for the
specified web-cache.
clear ip twcb statistics [webcache-name]
[all]