8
192.168.1.1 00e0-fc01-0000 10 GE2/0/1 N/A S
Short static ARP entry configuration example
Network requirements
As shown in
, hosts are connected to Router B. Router B is connected to Router A through
interface GigabitEthernet 2/0/2.
To ensure secure communications between Router A and Router B, configure a short static ARP
entry for Router A on Router B.
Figure 4 Network diagram
Configuration procedure
# Configure an IP address for GigabitEthernet 2/0/2.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] ip address 192.168.1.2/24
[RouterB-GigabitEthernet2/0/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 short static ARP entry for Router A.
[RouterB] display arp static
Type: S-Static D-Dynamic O-Openflow R-Rule M-Multiport I-Invalid
IP address MAC address VLAN Interface Aging Type
192.168.1.1 00e0-fc01-001f N/A N/A N/A S