xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
86
9
A
DDRESS
R
ESOLUTION
P
ROTOCOL
(ARP)
C
OMMANDS
The Address Resolution Protocol (ARP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
create arpentry
<ipaddr> <macaddr>
delete arpentry
[<ipaddr> | all]
config arpentry
<ipaddr> <macaddr>
config arp_aging time
<min 0-65535>
config arp_retry times
<value 0-4>
clear arptable
show arpentry
{ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address <macaddr>}
Each command is listed, in detail, in the following sections.
create arpentry
Purpose
Used to create a static entry in the ARP table.
Syntax
create arpentry <ipaddr> <macaddr>
Description
This command is used to enter a static ARP entry into the switch’s ARP table.
Parameters
ipaddr
- The IP address of the end node or station.
macaddr
- The MAC address corresponding to the IP address above.
Restrictions
Only Administrator and Operator-level users can issue this command.
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-3450:admin# 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-3450:admin#
delete arpentry
Purpose
Used to delete a static entry from the ARP table.
Syntax
delete arpentry [<ipaddr> | all]
Description
This command is used to delete an ARP entry, by specifying either the IP address of the
entry or all. Specifying ‘all’ clears the switch’s ARP table.
Parameters
ipaddr
- The IP address of the end node or station.
all
- Delete all ARP entries.
Restrictions
Only Administrator and Operator-level users can issue this command.