IP Address Commands
arp
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 214
15
The arp Global Configuration mode command adds a permanent entry in the
Address Resolution Protocol (ARP) cache. Use the no form of this command to
remove an entry from the ARP cache.
Syntax
arp
ip_addr hw_addr
{vlan
vlan-id
}
no arp
ip_addr
{vlan
vlan-id
}
Parameters
•
ip_addr
— Valid IP address or IP alias to map to the specified MAC address.
•
hw_addr
— Valid MAC address to map to the specified IP address or IP
alias.
•
vlan-id
— Valid VLAN number.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
The software uses ARP cache entries to translate 32-bit IP addresses into 48-bit
hardware addresses. Because most hosts support dynamic resolution, static ARP
cache entries do not generally have to be specified.