2-4
[Switch-Vlan-interface1] quit
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.20.99 255.255.255.0
[Switch-Vlan-interface2] proxy-arp enable
[Switch-Vlan-interface2] quit
Local Proxy ARP Configuration Example in Case of Port Isolation
Network requirements
z
Host A and Host B belong to the same VLAN, and connect to Switch B via GigabitEthernet 1/0/2
and GigabitEthernet 1/0/3, respectively.
z
Switch B connects to Switch A via GigabitEthernet 1/0/1.
z
On Switch B, Layer 2 and Layer 3 port isolation are configured on GigabitEthernet 1/0/2 and
GigabitEthernet 1/0/3. Enable proxy ARP on Switch A to allow communication between Host A and
Host B.
Figure 2-4
Network diagram for local proxy ARP between isolated ports
Switch A
Switch B
GE1/0/2
GE1/0/3
GE1/0/1
Host A
192.168.10.99/24
Host B
192.168.10.200/24
GE1/0/2
VLAN 2
Vlan-int2
192.168.10.100/24
Configuration procedure
1) Configure Switch B
# Add GigabitEthernet 1/0/3, GigabitEthernet 1/0/1 and GigabitEthernet 1/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 1/0/1
[SwitchB-vlan2] port gigabitethernet 1/0/2
[SwitchB-vlan2] port gigabitethernet 1/0/3
[SwitchB-vlan2] quit
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port-isolate enable
[SwitchB-GigabitEthernet1/0/2] quit
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port-isolate enable
[SwitchB-GigabitEthernet1/0/3] quit
2) Configure Switch A