1-6
# Configure port Ethernet 1/0/4 (through which the switch connects to the Web Cache
Server) as a Truck port, and configure the port to allow the packets of VLAN 40 and VLAN
50 to pass through.
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] port link-type trunk
[Sysname-Ethernet1/0/4] port trunk permit vlan 40 50
[Sysname-Ethernet1/0/4] quit
# Enable the WEB Cache redirection function, and redirect all the HTTP packets received
on VLAN 10, VLAN 20 and VLAN 30 to the WEB Cache Server.
[Sysname] webcache address 192.168.4.2 mac 0012-0990-2250 vlan 40 port Ethernet
1/0/4
[Sysname] webcache redirect-vlan 10
[Sysname] webcache redirect-vlan 20
[Sysname] webcache redirect-vlan 30