Operation Manual – Web Cache Redirection  
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 1  Web Cache Redirection Configuration
 
Huawei Technologies Proprietary 
1-2 
 
1.2  Web Cache Redirection Configuration 
1.2.1  Configuration Prerequisites 
z  The route between the switch and Web cache is valid. Enable the Web cache 
function on the Web cache. 
z  The IP address and MAC address of the Web cache are available, and the VLANs 
whose HTTP traffic is be redirected to the Web cache exist. 
z  The port through which the switch is connected to the Web cache and TCP port 
number used by HTTP are determined. 
1.2.2  Configuration Procedure 
Table 1-1 Configure Web cache redirection in system view 
Operation  Command  Description 
Enter system view 
system-view 
— 
Configure Web 
cache parameters 
webcache address 
ip-address mac 
mac-address  vlan vlan-id 
port  interface-type 
interface-number  [  tcpport 
tcpport-num ] 
Required 
Specify a VLAN 
whose HTTP traffic 
is to be redirected 
to the Web cache 
webcache redirect-vlan 
vlan-id 
Required 
You can specify multiple 
VLANs for Web cache 
redirection so that the HTTP 
traffic of the users in these 
VLANs can be redirected to 
the Web cache. 
By default, HTTP traffic is not 
redirected to the Web cache. 
Display Web cache 
redirection 
configuration and 
the state of the 
Web cache 
display webcache 
Optional 
This command can be 
executed in any view. 
 
Table 1-2 Configure Web cache redirection in Ethernet port view 
Operation  Command  Description 
Enter system view 
system-view 
— 
Enter Ethernet port 
view 
interface  interface-type 
interface-number 
— 
Configure Web 
webcache address 
Required