D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
89
11
ADDRESS RESOLUTION PROTOCOL (ARP) COMMANDS
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>
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-3627: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-3627: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.