H3C LS-5100-16P-SI-OVS-H3 Configuration page 44

Low-end ethernet switches
Table of Contents

Advertisement

QACL
H3C Low-End Ethernet Switches Configuration Examples
# Create VLAN 30 for the administrative department, and assign an IP address
192.168.3.1 to the VLAN interface 30.
[H3C] vlan 30
[H3C-vlan30] port Ethernet 1/0/3
[H3C-vlan30] quit
[H3C] interface Vlan-interface 30
[H3C-Vlan-interface30] ip address 192.168.3.1 24
[H3C-Vlan-interface30] quit
# Create VLAN 40 for the WEB Cache Server, and assign an IP address 192.168.4.1 to
the VLAN interface 40.
[H3C] vlan 40
[H3C-vlan40] port Ethernet 1/0/4
[H3C-vlan30] quit
[H3C] interface Vlan-interface 40
[H3C-Vlan-interface40] ip address 192.168.4.1 24
[H3C-Vlan-interface40] 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.
[H3C] webcache address 192.168.4.2 mac 0012-0990-2250 vlan 40 port Ethernet
1/0/4
[H3C] webcache redirect-vlan 10
[H3C] webcache redirect-vlan 20
[H3C] webcache redirect-vlan 30
Note: The VLAN interface 40, VLAN interface 10, VLAN interface 20, and VLAN
interface 30 must be in UP state. Otherwise, the WEB Cache redirection function will
not work.
Chapter 3 Configuration Example of WEB
3-3
Cache Redirection

Advertisement

Table of Contents
loading

Table of Contents