3com S7906E 安装指导
2-5
z
Switch B in this diagram is a distributed device.
z
Switch B has Layer 2 and Layer 3 port isolation configured in this configuration example, so you
need to configure local proxy ARP on VLAN-interface 2 of Switch A to enable communication
between Host A and Host B. If the two ports on Switch B are isolated only at Layer 2, you can
enable communication between the two hosts by configuring local proxy ARP on VLAN-interface 2
of Switch B.
Configuration procedure
1) Configure Switch B
# Add GigabitEthernet2/0/3, GigabitEthernet2/0/1 and GigabitEthernet2/0/2 to VLAN 2. Host A and
Host B are isolated and unable to exchange Layer 2 packets.
<SwitchB> system-view
[SwitchB] vlan 2
[SwitchB-vlan2] port gigabitethernet 2/0/1
[SwitchB-vlan2] port gigabitethernet 2/0/2
[SwitchB-vlan2] port gigabitethernet 2/0/3
[SwitchB-vlan2] quit
[SwitchB] interface gigabitethernet 2/0/1
[SwitchB-gigabitethernet2/0/1] port-isolate enable
[SwitchB-gigabitethernet2/0/1] interface gigabitethernet 2/0/3
[SwitchB-gigabitethernet2/0/3] port-isolate enable
[SwitchB-gigabitethernet2/0/3] quit
2) Configure Switch A
# Create VLAN 2, and add gigabitethernet2/0/2 to VLAN 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] port gigabitethernet 2/0/2
[SwitchA-vlan2] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.168.10.100 255.255.0.0
The ping operation from Host A to Host B is unsuccessful because they are isolated at Layer 2 and
Layer 3.
# Configure local proxy ARP to let Host A and Host B communicate at Layer 3.
[SwitchA-Vlan-interface2] local-proxy-arp enable
The ping operation from Host A to Host B is successful after the configuration.
Local Proxy ARP Configuration Example in Super VLAN
Network requirements
As shown in
, a super VLAN, VLAN 10, is created, with the interface IP address being
192.168.10.100/16. Sub-VLANs (VLAN 2 and VLAN 3) are created. gigabitethernet2/0/2 belongs to
VLAN 2 and gigabitethernet2/0/1 belongs to VLAN 3.