D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 87
set arp
Adds an ARP entry to the ARP table.
Syntax: set arp {permanent | static | dynamic} ip-addr mac-addr
permanent Adds a permanent entry. A permanent entry does not age out and remains
in the database even after a reboot, reset, or power cycle.
static Adds a static entry. A static entry does not age out, but the entry does not
remain in the database after a reboot, reset, or power cycle.
dynamic Adds a dynamic entry. A dynamic entry is automatically removed if the
entry ages out, or after a reboot, reset, or power cycle.
ip-addr IP address of the entry, in dotted decimal notation.
mac-addr MAC address to map to the IP address. Use colons to separate the octets
(for example, 00:11:22:aa:bb:cc).
Defaults: None.
Access: Enabled.
Examples: The following command adds a static ARP entry that maps IP address 10.10.10.1 to
MAC address 00:bb:cc:dd:ee:ff:
DWS-1008# set arp static 10.10.10.1 00:bb:cc:dd:ee:ff
success: added arp 10.10.10.1 at 00:bb:cc:dd:ee:ff on VLAN 1
See Also:
• set arp agingtime
• show arp
set arp agingtime
Changes the aging timeout for dynamic ARP entries.
Syntax: set arp agingtime seconds
seconds Number of seconds an entry can remain unused before MSS removes the entry.
You can specify from 0 through 1,000,000. To disable aging, specify 0.
Defaults: The default aging timeout is 1200 seconds.