CLI Reference IP Address Configuration Commands
IP Address Configuration Commands
arp
Use this command to add a permanent IP address and MAC address mapping to the
ARP cache table. The no form of this command deletes the static MAC address
mapping.
arp ip-address MAC-address type [ alias ]
no arp ip-address MAC-address type [ alias ]
The IP address that corresponds to the MAC address. It
includes four parts of numeric values in decimal format
separated by dots.
48-bit data link layer address
ARP encapsulation type. The keyword is arpa for the
Ethernet interface.
(Optional) RGOS will respond to the ARP request from
this IP address after this parameter is defined.
There is no static mapping record in the ARP cache table.
Global configuration mode.
RGOS finds the 48-bit MAC address according to the 32-bit IP address using the
ARP cache table.
Since most hosts support dynamic ARP resolution, usually static ARP mapping is not
necessary. The clear arp-cache command can be used to delete the ARP mapping
that is learned dynamically.
The following is an example of setting an ARP static mapping record for a host in the
Ethernet.
arp 1.1.1.1 4e54.3800.0002 arpa
Clear the ARP cache table