![Riverstone Networks WICT1-12 Скачать руководство пользователя страница 516](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194516.webp)
22-18 Riverstone Networks RS Switch Router User Guide Release 8.0
Web Caching
Web Hosting Configuration
Creating the Cache Group
You can specify either a range of contiguous IP addresses or a list of up to four IP addresses to define the servers when
the cache group is created. If you specify multiple servers, load balancing is based on the destination address of the
request. If any cache server fails, traffic is redirected to the other active servers.
The following example configures the “testweb1” caching policy for the “weblist1” cache group:
Note
If a range of IP addresses is specified, the range must be contiguous and contain
no more than 256 IP addresses.
Specifying the Client(s) for the Cache Group (Optional)
You can explicitly specify the hosts whose HTTP requests are or are not redirected to the cache servers. If you do not
explicitly specify these hosts, then
all
HTTP requests are redirected to the cache servers.
The following example specifies that HTTP requests from the address range 135.142.179.14 to 135.142.179.21 should
be redirected to the cache servers:
Redirecting HTTP Traffic on an Interface or Port
To start the redirection of HTTP requests to the cache servers, you need to apply the caching policy to a specific
outbound interface or port. This interface or port is typically an interface that connects to the Internet. If you apply the
caching policy to an interface, the interface should not be on the same subnet as the web cache servers.
Apply a caching policy to a port when redirecting bridged traffic. You should apply it to the port that leads to the web
server. L4 bridging must be enabled, and the clients, servers, and ports must belong to the same VLAN. In addition,
for 802.1Q trunk ports, you can specify a particular VLAN.
Note
By default, the RS redirects HTTP requests on port 80. Secure HTTP (https)
requests do not run on port 80, therefore these types of requests are not redirected
by the RS.
The following example applies the policy “testweb1” to port et.3.1:
rs(config)# web-cache testweb1 create server-list weblist1 range
“10.10.10.1 10.10.10.100”
rs(config)# web-cache testweb1 permit hosts range “135.142.179.14
135.142.179.21”
rs(config)# web-cache testweb1 apply port et.3.1
Содержание WICT1-12
Страница 1: ...36 007 07 Rev 0A RS Switch Router User Guide Release 8 0...
Страница 7: ...Riverstone Networks RS Switch Router User Guide Release 8 0 vii J J J J J 2 5 5J 5 A H B J 5J H...
Страница 160: ...8 26 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuring PPP OC 12 ATM Configuration Guide...
Страница 216: ...13 6 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Example RIP Configuration Guide...
Страница 258: ...15 24 Riverstone Networks RS Switch Router User Guide Release 8 0 Displaying IS IS Information IS IS Configuration Guide...
Страница 308: ...16 50 Riverstone Networks RS Switch Router User Guide Release 8 0 BGP Configuration Examples BGP Configuration Guide...
Страница 530: ...23 10 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Examples IPX Routing Configuration...
Страница 546: ...24 16 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring ACLs Access Control List Configuration...
Страница 582: ...26 20 Riverstone Networks RS Switch Router User Guide Release 8 0 Limiting Traffic Rate QoS Configuration...
Страница 586: ...27 4 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring Broadcast Traffic Performance Monitoring...