Configuration procedure
# Configure an IP address for GigabitEthernet 2/1/2.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/2
[RouterB-GigabitEthernet2/1/2] ip address 192.168.1.2 24
[RouterB-GigabitEthernet2/1/2] quit
# Configure a static ARP entry that has IP address 192.168.1.1 and MAC address 00e0-fc01-001f.
[RouterB] arp static 192.168.1.1 00e0-fc01-001f
Verifying the configuration
# Verify that Router B has a static ARP entry for Router A.
[RouterB] display arp static
Type: S-Static
IP address
192.168.1.1
D-Dynamic
O-Openflow
MAC address
SVID
00e0-fc01-001f
--
R-Rule
M-Multiport
Interface
--
7
I-Invalid
Aging Type
--
S