3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-4 
[Sysname] interface Ethernet 1/0/4 
[Sysname-Ethernet1/0/4] webcache address 1.1.1.1 mac 0012-0990-2250 vlan 40  
webcache redirect-vlan 
Syntax 
webcache redirect-vlan vlan-id 
undo webcache redirect-vlan vlan-id 
View 
System view 
Parameters 
vlan-id: ID of the VLAN whose HTTP traffic is to be redirected. 
Description 
Use the webcache redirect-vlan command to configure a VLAN as a redirected VLAN, 
that is, specify to redirect the HTTP traffic of the VLAN to the Web cache server. 
Use the undo webcache redirect-vlan command to remove one or all redirected VLANs. 
By default, no HTTP traffic is redirected to the Web cache server.  
Note that: 
Before configuring a VLAN as a redirected VLAN, you need to create the VLAN 
interface for the VLAN. 
You can configure multiple redirected VLANs by executing the webcache 
redirect-vlan command repeatedly. You can configure up to 8 redirected VLANs. 
If you do not specify the vlan-id argument when executing the undo webcache 
redirect-vlan command, the command will remove all the configured redirected 
VLANs. 
The VLAN interface of a redirected VLAN must be up for the Web cache redirection 
function to take effect. 
The switch does not support configuring the VLAN to which the Web cache server 
belongs as a redirected VLAN. 
Examples 
# Configure VLAN 40 as a redirected VLAN to redirect the HTTP traffic of VLAN 40 to the 
Web cache server.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] webcache redirect-vlan 40