E-DOC-CTC-20061027-0003v2.0
IP Commands
433
ip arpadd
Add an entry to the ARP cache of a broadcast Internet Protocol (IP) interface.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:

ip arpadd intf = <string>

ip = <ip-range>
[hwaddr = <hardware-address>]
intf The IP interface name. REQUIRED
ip The IP address (or range) of the entry to be added to the Address
Resolution Protocol (ARP) cache.
REQUIRED
hwaddr The hardware address (for example the Ethernet MAC address) of the
entry to be added.
OPTIONAL
=>ip arplist
Interface IP-address HW-address Type
2 eth0 10.0.0.1 00:10:a4:ad:32:cf STATIC
=>ip arpadd intf=eth0 ip=10.0.0.2
=>ip arplist
Interface IP-address HW-address Type
2 eth0 10.0.0.1 00:10:a4:ad:32:cf STATIC
2 eth0 10.0.0.2 00:00:00:00:00:00 DYNAMIC
=>ip arpadd intf=eth0 ip=10.0.0.3 hwaddr=00:a0:24:ae:66:e1
=>ip arplist
Interface IP-address HW-address Type
2 eth0 10.0.0.1 00:10:a4:ad:32:cf STATIC
2 eth0 10.0.0.2 00:00:00:00:00:00 DYNAMIC
2 eth0 10.0.0.3 00:a0:24:ae:66:e1 STATIC
=>
ip arpdelete Delete an entry from the ARP cache.
ip arplist Display the ARP cache.