3com 4210 Manual De Usuario
Configuring Web Cache Redirection
227
[3Com-Vlan-interface40] ip address 192.168.4.1 24
[3Com-Vlan-interface40] quit
# Create VLAN 50 for the switch to connect to the router and configure the IP
address of VLAN-interface 50 as 192.168.5.1.
address of VLAN-interface 50 as 192.168.5.1.
[3Com] vlan 50
[3Com-vlan50] port Ethernet 1/0/5
[3Com-vlan50] quit
[3Com] interface Vlan-interface 50
[3Com-Vlan-interface50] ip address 192.168.5.1 24
[3Com-Vlan-interface50] quit
# Configure Ethernet 1/0/4, the port connected to the Web cache server, as a
trunk port, and configure the port to permit the packets of VLAN 40 and VLAN 50
to pass through.
trunk port, and configure the port to permit the packets of VLAN 40 and VLAN 50
to pass through.
[3Com] interface Ethernet 1/0/4
[3Com-Ethernet1/0/4] port link-type trunk
[3Com-Ethernet1/0/4] port trunk permit vlan 40 50
[3Com-Ethernet1/0/4] quit
# Enable Web cache redirection to redirect all the HTTP packets received from
VLAN 10, VLAN 20, and VLAN 30 to the Web cache server.
VLAN 10, VLAN 20, and VLAN 30 to the Web cache server.
[3Com] webcache address 192.168.4.2 mac 0012-0990-2250 vlan 40 port
Ethernet 1/0/4
[3Com] webcache redirect-vlan 10
[3Com] webcache redirect-vlan 20
[3Com] webcache redirect-vlan 30
Complete Configuration
#
vlan 10
#
vlan 20
#
vlan 30
#
vlan 40
#
vlan 50
#
interface Vlan-interface10
ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.2.1 255.255.255.0
#
interface Vlan-interface30
ip address 192.168.3.1 255.255.255.0
#
interface Vlan-interface40
ip address 192.168.4.1 255.255.255.0
#
interface Vlan-interface50
ip address 192.168.5.1 255.255.255.0
#