H3C s3600 series Command Manual page 792

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

vlan-id: ID of the VLAN where Web cache server is to be located.
port interface-type interface-number: Specifies the port through which the switch is connected to the
Web cache server. interface-type interface-number is the port type and port number.
tcpport tcpport-number: Specifies the number of the TCP port used by HTTP packets. The default is
80.
Description
Use the webcache address command to configure a Web cache server.
Use the undo webcache all command to remove all Web cache redirection configurations on the
switch.
By default, no Web cache server is configured.
You can configure a Web cache server in system view or Ethernet port view. After you configure a Web
cache server, you need to configure the redirected VLANs to make the Web cache redirection function
take effect.
Note that:
The switch can be configured with only one Web cache server. If you configure the Web cache
server for multiple times, the last configuration will take effect.
If the configured Web cache server is unreachable, the Web cache redirection function will not take
effect.
The VLAN interface of the VLAN which the Web cache server belongs to must be up; otherwise,
the Web cache redirection function will not take effect.
If you configured both the Web cache redirection function and the STP function, to ensure that the
Web cache redirection function can take effect, you are recommended to configure the port
connecting the Web cache server as a trunk or hybrid port and configure the port to permit packets
of the VLAN through which users access the Internet.
Examples
# Enable the Web cache redirection function in system view, configuring the Web cache server with the
following parameters: IP address to be 1.1.1.1, MAC address to be 0012-0990-2250, VLAN ID to be 40,
the port through which the switch is connected to the Web cache server to be Ethernet 1/0/4, and the
default TCP port for HTTP.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] webcache address 1.1.1.1 mac 0012-0990-2250 vlan 40 port Ethernet 1/0/4
# Enable the Web cache redirection function in Ethernet 1/0/4 port view, configuring Web cache server
with the following parameters: IP address to be 1.1.1.1, MAC address to be 0012-0990-2250, VLAN ID
to be 40, and the default TCP port for HTTP.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] webcache address 1.1.1.1 mac 0012-0990-2250 vlan 40
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents