3com 5500-ei pwr Installation Instruction
1-2
that is frequently accessed by the users in the LAN. It belongs to VLAN 30. The switch
connects to the router through VLAN 40. Normally, HTTP traffic of PC 1 and PC 2 are
forwarded through VLAN 40 to the router, which then sends the traffic to the Internet. By
enabling Web cache redirection function on the switch, HTTP traffic of PC 1 and PC 2 is
redirected to Web Cache Server through VLAN 30.
When a user in the LAN accesses the Internet,
z
If the information requested is already stored in Web Cache Server, the Web Cache
Server sends the information to the user directly, thus eliminating the access to the
Internet.
z
If Web Cache Server does not contain the information requested, it retrieves the
information from the Internet and then forwards the information to the user.
If both the Web cache redirection function and the STP function are configured on the
switch, to avoid Web cache redirection failure, you are recommended to configure the port
connecting with the Web Cache Server as a Trunk or Hybrid port that permits the packets
of the VLAN used for HTTP traffic transmission, VLAN 40 in
for example.
Web Cache Redirection Configuration
Configuration Prerequisites
z
The route between the switch and the Web cache server is reachable, and the Web
cache function is enabled on the Web cache server.
z
The IP address and MAC address of the Web cache server and the VLANs whose HTTP
traffic is to be redirected to the Web cache are configured.
z
The port through which the switch is connected to the Web cache server and TCP port
number used by HTTP are determined.
Configuration Procedure
You can configure Web cache redirection in system view or Ethernet port (connecting with
the Web cache server) view.
Follow these steps to configure Web cache redirection in system view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure Web cache
server parameters
server parameters
webcache address
ip-address mac
mac-address vlan vlan-id
port interface-type
interface-number [ tcpport
tcpport-number ]
ip-address mac
mac-address vlan vlan-id
port interface-type
interface-number [ tcpport
tcpport-number ]
Required
Not configured by default.
Specify a VLAN whose
HTTP traffic is to be
redirected to the Web cache
server
HTTP traffic is to be
redirected to the Web cache
server
webcache redirect-vlan
vlan-id
vlan-id
Required
By default, no HTTP packet
is redirected to the Web
cache server.
is redirected to the Web
cache server.