Huawei Quidway S3900 series Command Manual page 776

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Web Cache Redirection
Quidway S3900 Series Ethernet Switches-Release 1510
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:
If the configured Web cache is inaccessible, Web cache redirection cannot be
enabled.
The switch supports only one Web cache. If you configure web cache for a second
time, the new configuration replaces the old one.
If the VLAN where web cache is located does not have the corresponding VLAN
interface on the switch, this configuration will not be validated.
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
Chapter 1 Web Cache Redirection Configuration
Huawei Technologies Proprietary
1-3
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents