Operation Manual – Web Cache Redirection
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Web Cache Redirection Configuration
Huawei Technologies Proprietary
1-3
Operation Command Description
cache parameters
ip-address mac
mac-address vlan vlan-id
[ tcpport tcpport-num ]
Quit to system view
quit
—
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, the 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.
Note:
z Web cache redirection configurations made in Ethernet port view and system view
have the same effect.
z If the configured Web cache is inaccessible, Web cache redirection cannot be
enabled.
z The switch supports only one Web cache configuration. If you configure Web cache
for a second time, the new configuration will replace the old one.
z If the VLAN where Web cache is located does not have the corresponding VLAN
interface on the switch, this configuration will not be validated.
z If the VLAN interface does not go up, Web cache redirection will not be validated.
z You use the undo webcache all command to remove all Web cache redirection
configurations.
1.2.3 Configuration Example
I. Networking requirements
The marketing department, R&D department, and President’s office of a company are
located at VLAN10, VLAN 20, and VLAN30, and connected to the switch via Ethernet
1/0/1, Ethernet1/0/2, and Ethernet1/0/3 respectively. VLAN10, VLAN20, and VLAN30
are located at the network segments: 10.15.17.1/24, 10.15.18.1/24, and 10.15.19.1/24