The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command
create arpentry
delete arpentry
show arpentry
config arp_aging time
clear arptable
Each command is listed, in detail, in the following sections.
create arpentry
Purpose
Syntax
Description
Parameters
Restrictions
Example Usage:
To create a static ARP entry for the IP address 10.48.74.121 and MAC address 00:50:BA:00:07:36:
DGS-3312SR:4#create arpentry 10.48.74.121 00-50-BA-00-07-36
Command: create arpentry 10.48.74.121 00-50-BA-00-07-36
Success.
DGS-3312SR:4#
delete arpentry
Purpose
Syntax
Description
Parameters
DGS-3312SR Layer 3 Gigabit Switch
Parameters
<ipaddr> <macaddr>
[<ipaddr> | all]
{ipif <ipif_name 12> | ipaddress <ipaddr> | static}
<value 0-65535>
Used to make a static entry into the ARP table.
create arpentry <ipaddr> <macaddr>
This command is used to enter an IP address and the
corresponding MAC address into the switch's ARP table.
<ipaddr> − The IP address of the end node or station.
<macaddr> − The MAC address corresponding to the IP address
above.
Only administrator-level users can issue this command.
Used to delete a static entry into the ARP table.
delete arpentry {<ipaddr> | all}
This command is used to delete a static ARP entry, made using
the create arpentry command above, by specifying either the IP
address of the entry or all. Specifying all clears the switch's ARP
table.
<ipaddr> − The IP address of the end node or station.
216
30
ARP C
OMMANDS