Command Reference IP Address Commands
Platform
Description
This command is not supported on Layer 2 switches.
arp
Use this command to add a permanent IP-MAC address mapping to the ARP cache table. Use the no
form of this command to delete the static MAC address mapping.
arp [ vrf name ] ip-address MAC-address type
no arp [ vrf name ] ip-address
Parameter
Description
Parameter Description
vrf name
Specifies the VRF instance. The name parameter indicates the name
of the VRF instance.
ip-address
The IP address that corresponds to the MAC address. It
comprises four groups of numeric values in decimal format
separated by dots.
MAC-address 48-bit data link layer address
type
ARP encapsulation type. The keyword is arpa for Ethernet
interfaces.
Defaults
There is no static mapping record in the ARP cache table.
Command
Mode
Global configuration mode
Usage Guide
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.
Configuration
Examples
The following example sets an ARP static mapping record for an Ethernet host.
arp 1.1.1.1 4e54.3800.0002 arpa
Related
Commands
Command Description
clear arp-cache
Clears the ARP cache table
Platform
Description
N/A