6.2 arp
This command is used to display and modify the internet to ethernet address translation tables used by the address resolution protocol.
Options
Options and option parameters that are underlined indicate that a value must be specified for that option or parameter. For example, the arp command option -d has the parameter IP address. The IP address must be specified for which an ARP entry will be deleted, as in the command arp
-d 192.9.200.44. Do not enter the underlined option or parameter; enter a value for the information represented by the underlined option or parameter.
-a
This option displays all entries in the ARP table.
-d
IP addressThis option deletes an ARP entry for the specified IP address.
The IP address is a TCP/IP address expressed in standard “dot notation.” IP addresses consist of the system’s network number and the machine’s unique host number. An example IP address is 192.9.200.44, where 192.9.200 is the network number and 44 is the machine’s host number.
Range:
4 numbers separated by dots, with each number in the range of 0-255.
-f
This option flushes all entries from the ARP table.
-h
This option displays help (usage) information for the command.
-s
IP addressMAC address
This option creates an ARP entry for the specified IP address and ethernet address.
Example
arp -a
arp -s 192.9.200.44 08:00:20:1b:0f:f2
arp -d 192.9.200.44
arp -f
Dependencies
Only one of the options can be specified at a time.
The arp
command with no options displays all of the current ARP cache entries.
Notes
The arp
command is executed through the pass
command.
Output
pass:loc=1105:cmd="arp" or
pass:loc=1105:cmd="arp -h"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:10:00 EST EAGLE5 31.6.0
pass:loc=1105:cmd="arp"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:10:00 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:10:00 EST EAGLE5 31.6.0
Usage: arp [-a] [-d ipaddr] [-f] [-h] [-s ipaddr enetaddr]
Options:
-a Display All entries in ARP table
-d Delete specified entry (ipaddr) from ARP table
-f Flush all entries from ARP table
-h Displays this message
-s Set ARP table entry to associate ipaddr with enetaddr
enetaddr x:x:x:x:x:x
ipaddr d.d.d.d
;
rlghncxa03w 04-07-27 08:10:01 EST EAGLE5 31.6.0
ARP command complete
;
pass:loc=1105:cmd="arp -s 192.168.100.234 11:22:33:44:55:66"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:11:08 EST EAGLE5 31.6.0
pass:loc=1105:cmd="arp -s 192.168.100.234 11:22:33:44:55:66"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:11:08 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:11:08 EST EAGLE5 31.6.0
ARP: 192.168.100.234 (11:22:33:44:55:66) added
;
rlghncxa03w 04-07-27 08:11:09 EST EAGLE5 31.6.0
ARP command complete
;
Output for 32-bit GPLs:
pass:loc=1105:cmd="arp -a"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:11:18 EST EAGLE5 31.6.0
pass:loc=1105:cmd="arp -a"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:11:18 EST EAGLE5 31.6.0
PASS: Command sent to card
;
RLGHNCXA03WRLGHNCXA03W 04-07-27 08:11:18 EST EAGLE5 31.6.0
LINK LEVEL ARP TABLE
destination gateway flags Refcnt Use Interface
-------------------------------------------------------------------------
192.168.55.250 00:e0:16:9b:0d:86 405 1 0 seeq1
192.168.100.234 11:22:33:44:55:66 c05 0 0 seeq0
-------------------------------------------------------------------------
;
rlghncxa03w 04-07-27 08:11:19 EST EAGLE5 31.6.0
ARP command complete
;
Output for 64-bit GPLs:
pass:loc=1105:cmd="arp -a"
tklc9010801 17-06-19 07:29:45 EST EAGLE 46.5.0.0.0-70.35.0
pass:loc=1217:cmd="arp -a"
Command entered at terminal #20.
;
tklc9010801 17-06-19 07:29:51 EST EAGLE 46.5.0.0.0-70.35.0
PASS: Command sent to card
;
Command Accepted - Processing
tklc9010801 17-06-19 07:29:54 EST EAGLE 46.5.0.0.0-70.35.0
ARP command complete
;
Command Executed
-> arpShow
192.168.120.255 at ff:ff:ff:ff:ff:ff on gei4
192.168.121.3 at 00:00:17:0f:55:45 permanent published on gei5
192.168.120.3 at 00:00:17:0f:55:44 permanent published on gei4
192.168.121.255 at ff:ff:ff:ff:ff:ff on gei5
192.168.121.200 at 00:00:00:00:00:00 on gei5
192.168.121.100 at 00:00:17:0e:a6:9b on gei5
192.168.120.200 at 00:00:00:00:00:00 on gei4
192.168.120.100 at 00:00:17:0e:a6:9c on gei4
value = 0 = 0x0
;
pass:loc=1105:cmd="arp -f"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:11:38 EST EAGLE5 31.6.0
pass:loc=1105:cmd="arp -f"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:11:38 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:11:38 EST EAGLE5 31.6.0
ARP: ARP table flushed
;
rlghncxa03w 04-07-27 08:11:38 EST EAGLE5 31.6.0
ARP command complete
;
pass:loc=1105:cmd="arp -d 192.111.111.222"
E3780 Cmd Rej: Syntax Error Found
rlghncxa03w 04-07-27 08:26:37 EST EAGLE5 31.6.0
pass:loc=1105:cmd="arp -d 192.111.111.222"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:26:37 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:26:37 EST EAGLE5 31.6.0
ARP: entry not deleted
;
rlghncxa03w 04-07-27 08:26:37 EST EAGLE5 31.6.0
ARP command complete