Short static ARP entry configuration example

Network requirements

As shown in Figure 4GigabitEthernet 1/0/2, hosts are connected to Device B. Device B is connected to Device A through interface .

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

Configuration procedure

# Configure an IP address for .

<DeviceB> system-view
[DeviceB] interface 
[DeviceB-] ip address 192.168.1.2 24
[DeviceB-] 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