xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
424
delete arpentry
Purpose
Used to delete a static entry into the ARP table.
Syntax
delete arpentry [<ipaddr> | all]
Description
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.
Parameters
<ipaddr>
−
The IP address of the end node or station.
all
−
Deletes all ARP entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example Usage:
To delete an entry of IP address 10.48.74.121.125 from the ARP table:
D G S - 3 4 2 6 : 5 # d e l e t e a r p e n t r y 1 0 . 4 8 . 7 4 . 1 2 1
C o m m a n d : d e l e t e a r p e n t r y 1 0 . 4 8 . 7 4 . 1 2 1
S u c c e s s .
D G S - 3 4 2 6 : 5 #
config arp_aging time
Purpose
Used to configure the age-out timer for ARP table entries on the Switch.
Syntax
config arp_aging time <value 0-65535>
Description
This command is used to set the maximum amount of time, in minutes, that an ARP entry
can remain in the Switch’s ARP table, without being accessed, before it is dropped from
the table.
Parameters
time <value 0-65535>
−
The ARP age-out time, in minutes. The value may be set in the
range of
0
to
65535
minutes with a default setting of
20
minutes.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure ARP aging time:
D G S - 3 4 2 6 : 5 # c o n f i g a r p _ a g i n g t i m e 3 0
C o m m a n d : c o n f i g a r p _ a g i n g t i m e 3 0
S u c c e s s .
D G S - 3 4 2 6 : 5 #
show arpentry
Purpose
Used to display the ARP table.
Syntax
show arpentry {ipif <ipif_name 12> | ipaddress <ipaddr> | static}
Description
This command is used to display the current contents of the Switch’s ARP table.
Parameters
ipif <ipif_name 12>
−
The name of the IP interface the end node or station for which the
ARP table entry was made, resides on.
ipaddress <ipaddr>
−
The network address corresponding to the IP interface name above.
static
−
Displays the static entries to the ARP table.
Restrictions None.