H3C Technologies H3C S7500E Series Switches User Manual

Page 29

Advertising
background image

2-8

2) Configure Switch A

# Create VLAN 5 and add GigabitEthernet2/0/2 to it.

<SwtichA> system-view

[SwtichA] vlan 5

[SwtichA-vlan5] port GigabitEthernet2/02

[SwtichA-vlan5] interface vlan-interface 5

[SwtichA-Vlan-interface5] 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 implement communication between VLAN 2 and VLAN 3.

[SwtichA-Vlan-interface5] local-proxy-arp enable

The ping operation from Host A to Host B is successful after the configuration.

Advertising