1-3
mac-address
: MAC address of the Web cache server.
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:
z
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.
z
If the configured Web cache server is unreachable, the Web cache redirection function
will not take effect.
z
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.
z
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.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...