beautypg.com

Displaying web cache redirection configuration, Web cache redirection configuration example, Configuration example – H3C Technologies H3C S3600 Series Switches User Manual

Page 772: Networking requirements

background image

1-3

Follow these steps to configure Web cache redirection in Ethernet port view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Configure Web cache server
parameters

webcache address ip-address
mac
mac-address vlan vlan-id
[ tcpport tcpport-number ]

Required

Not configured by default.

Quit to system view

quit

Specify a VLAN whose HTTP
traffic is to be redirected to the
Web cache server

webcache redirect-vlan
vlan-id

Required

By default, no HTTP packet is
redirected to the Web cache
server.

z

Make sure the route between the switch and Web cache server is reachable for the Web cache

redirection function to take effect.

z

A switch can have only one Web cache server configured. That is, a newly configured Web cache

server replaces the existing one.

z

Make sure both the interface of the VLAN that the Web cache server belongs to and that of the

VLAN whose HTTP traffic is to be redirected are up for the Web cache redirection to take effect.

z

A switch does not support to redirect the HTTP traffic of the VLAN where the Web cache server

resides to the Web cache server.

Displaying Web Cache Redirection Configuration

To do…

Use the command…

Remarks

Display Web cache redirection
configuration and the status of the
Web cache

display webcache

Available in any view.

Web Cache Redirection Configuration Example

Configuration Example

Networking requirements

The network of a company is organized as follows.

z

The market department belongs to VLAN 10 and is connected to port Ethernet 1/0/1 of the switch.

The IP address of VLAN 10 interface is 192.168.1.1/24.

z

The R&D department belongs to VLAN 20 and is connected to port Ethernet 1/0/2 of the switch.

The IP address of VLAN 20 interface is 192.168.2.1/24.

This manual is related to the following products: