Multiport ARP entry configuration example
Network requirements
As shown in Figure 5GigabitEthernet 1/0/1GigabitEthernet 1/0/2GigabitEthernet 1/0/3, a device connects to three servers through interfaces , , and in VLAN 10. The servers share the IP address 192.168.1.1/24 and MAC address 00e0-fc01-0000.
Configure a multiport ARP entry so that the device sends IP packets with the destination IP address 192.168.1.1 to the three servers.
Figure 5: Network diagram
Configuration procedure
# Create VLAN 10.
<Device> system-view [Device] vlan 10 [Device-vlan10] quit
# Add , , and to VLAN 10.
[Device] interface [Device-] port access vlan 10 [Device-] quit [Device] interface [Device-] port access vlan 10 [Device-] quit [Device] interface [Device-] port access vlan 10 [Device-] quit
# Create VLAN-interface 10 and specify its IP address.
[Device] interface vlan-interface 10 [Device-vlan-interface10] ip address 192.168.1.2 24 [Device-vlan-interface10] quit
# Configure a multiport unicast MAC address entry that has MAC address 00e0-fc01-0000, and output interfaces , , and in VLAN 10.
[Device] mac-address multiport 00e0-fc01-0000 interface to vlan 10
# Configure a multiport ARP entry with IP address 192.168.1.1 and MAC address 00e0-fc01-0000.
[Device] arp multiport 192.168.1.1 00e0-fc01-0000 10
Verifying the configuration
# Verify that the device has a multiport ARP entry with IP address 192.168.1.1 and MAC address 00e0-fc01-0000.
[Device] display arp Type: S-Static D-Dynamic O-Openflow R-Rule M-Multiport I-Invalid IP address MAC address VID Interface/Link ID Aging Type 192.168.1.1 00e0-fc01-0000 10 N/A N/A M