xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
31
ARP C
OMMANDS
The 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>
create arpentry ipv6
<ipv6addr> <macaddr>
delete arpentry
[<ipaddr> | all]
delete arpentry ipv6
[<ipv6addr> | all]
show arpentry
{ipif <ipif_name 12> | ipaddress <ipaddr> | static}
show arpentry ipv6
{<ipv6addr>}
config arp_aging time <value 0-65535>
clear arptable
Each command is listed, in detail, in the following sections.
create arpentry
Purpose
Used to make a static entry into the ARP table.
Syntax
create arpentry <ipaddr> <macaddr>
Description
This command is used to enter an IP address and the
corresponding MAC address 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-level users can issue this command. The Switch
supports up to 255 static ARP entries.
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-3612G: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-3612G:4#
create arpentry ipv6
Purpose
Used to make a static IPv6 entry into the ARP table.
Syntax
create arpentry ipv6 <ipv6addr> <macaddr>
Description
This command is used to enter an IPv6 address and the
corresponding MAC address into the Switch’s ARP table.
<ipv6addr>
−
The IPv6 address of the end node or station.
<macaddr>
−
The MAC address corresponding to the IP address
above.
Parameters
209