Command Manual – Web Cache Redirection
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Web Cache Redirection Configuration
Commands
Huawei Technologies Proprietary
1-3
Use the
undo
webcache all
command to remove all Web cache redirection
configurations on the switch.
You can configure the parameters of Web Cache in system view or Ethernet port view.
Note:
z
If the configured Web cache is inaccessible, Web cache redirection cannot be
enabled.
z
The switch supports only one Web cache. If you configure web cache for a second
time, the new configuration replaces 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.
Example
# Enable Web cache redirection on the switch in system view, configuring the Web
cache with the following parameters: IP address 1.1.1.1, MAC address 00e0-fc01-0101,
VLAN ID 40, the port through which the switch is connected to the Web cache to be
Ethernet 1/0/4, and the default TCP port number used by HTTP packets to be 80.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] webcache address 1.1.1.1 mac 00e0-fc01-0101 vlan 40 port Ethernet
1/0/4
# Enable Web cache redirection on switch in Ethernet port view, configuring web cache
with the following parameters: IP address 1.1.1.1, MAC address 00e0-fc01-0101,
VLAN ID 40, the port through which the switch is connected to the Web cache to be
Ethernet 1/0/4, and the default TCP port number used by HTTP packets to be 80.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 1/0/1
[Quidway-Ethernet1/0/1] webcache address 1.1.1.1 mac 00e0-fc01-0101 vlan 40
1.1.3 webcache redirect-vlan
Syntax
webcache redirect-vlan vlan-id