308
Chapter 31 ARP Commands
Address Resolution Protocol (ARP) is used to resolve an IP address into an Ethernet MAC
address. The swich maintains an ARP mapping table to record the IP-to-MAC mapping relations,
which is used for forwarding packets. An ARP mapping table contains two types of ARP entries:
dynamic and static. An ARP dynamic entry is automatically created and maintained by ARP. A
static ARP entry is manually configured and maintained.
31.1 arp
Description
This arp command is used to add a static ARP entry. To delete the specified
ARP entry, please use the no arp command.
Syntax
arp
ip mac type
no arp
ip type
Parameter
ip
—— The IP address of the static ARP entry.
mac
—— The MAC address of the static ARP entry.
type
—— The ARP type. Configure it as “arpa”.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Create a static ARP entry with the IP as 192.168.0.1 and the MAC as
00:11:22:33:44:55:
T1600G-52TS(config)# arp 192.168.0.1 00:11:22:33:44:55 arpa