beautypg.com

Verification – H3C Technologies H3C S10500 Series Switches User Manual

Page 23

background image

12

# Specify an IP address for VLAN-interface 10.

system-view

[Switch] vlan 10

[Switch-vlan10] port GigabitEthernet 1/4/0/2

[Switch-vlan10] port GigabitEthernet 2/4/0/3

[Switch-vlan10] quit

[Switch] interface vlan-interface 10

[Switch-Vlan-interface10] ip address 16.1.1.1 255.255.255.0

[Switch-Vlan-interface10] quit

# Specify an IP address for VLAN-interface 20.

[Switch] vlan 20

[Switch-vlan20] port GigabitEthernet 2/3/0/1

[Switch-vlan20] port GigabitEthernet 1/3/0/4

[Switch-vlan20] quit

[Switch] interface vlan-interface 20

[Switch-Vlan-interface20] ip address 10.0.0.1 255.255.255.0

[Switch-Vlan-interface20] quit

# Disable the ARP entry check function.

[Switch] undo arp check enable

# Configure a static multicast MAC address entry.

[Switch] mac-address multicast 03bf-1001-0164 interface GigabitEthernet 1/4/0/2 Gigabi

tEthernet 2/4/0/3 vlan 10

Verification

NLB load sharing: Enable the FTP server function of Server A and Server B. Host A and Host B send

requests to the virtual IP address and each of them logs in to a different server.

NLB redundancy: Disable the network interface card of Server A. Host A and Host B send requests
to the virtual IP address and both log in to the FTP server on Server B.