9
192.168.1.1 00e0-fc01-0000 10 GE1/0/1 N/A S
Example: Configuring a short static ARP entry
Network configuration
As shown in Figure 4, hosts are connected to Device B. Device B is connected to Device A through
interface GigabitEthernet 1/0/2.
To ensure secure communications between Device A and Device B, configure a short static ARP
entry for Device A on Device B.
Figure 4 Network diagram
Procedure
# Configure an IP address for GigabitEthernet 1/0/2.
<DeviceB> system-view
[DeviceB] interface gigabitethernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] ip address 192.168.1.2 24
[DeviceB-GigabitEthernet1/0/2] quit
# Configure a short static ARP entry that has IP address 192.168.1.1 and MAC address
00e0-fc01-001f.
[DeviceB] arp static 192.168.1.1 00e0-fc01-001f
Verifying the configuration
# Verify that Device B has a short static ARP entry for Device A
[DeviceB] display arp static
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-001f N/A N/A N/A S
Example: Configuring a multiport ARP entry
Network configuration
As shown in Figure 5, a device connects to three servers through interfaces GigabitEthernet 1/0/1,
GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 in VLAN 10. The servers share the IP address
192.168.1.1/24 and MAC address 00e0-fc01-0000.