3Com WX2200 3CRWX220095A Switch User Manual

Managing the ARP Table 131
Adding an ARP Entry MSS automatically adds a local entry for a WX switch and dynamic entries
for addresses learned from traffic received by the switch. You can add the
following types of entries:
Dynamic — Ages out based on the aging timeout.
Static — Does not age out but is removed by a software reboot.
Permanent — Does not age out and remains in the ARP table
following a software reboot.
To add an ARP entry, use the following command:
set arp {permanent | static | dynamic} ip-addr mac-addr
To add a static ARP entry that maps IP address to MAC
address 00:bb:cc:dd:ee:ff, type the following command:
WX1200# set arp static 00:bb:cc:dd:ee:ff
success: added arp at 00:bb:cc:dd:ee:ff on VLAN 1
Changing the Aging
The aging timeout specifies how long a dynamic entry can remain unused
before the software removes the entry from the ARP table. The default
aging timeout is 1200 seconds (20 minutes). The aging timeout does not
affect the local entry, static entries, or permanent entries.
To change the aging timeout, use the following command:
set arp agingtime seconds
You can specify from 0 to 1,000,000 seconds. To disable aging, specify 0.
For example, to disable aging of dynamic ARP entries, type the following
WX1200# set arp agingtime 0
success: set arp aging time to 0 seconds
To reset the ARP aging timeout to its default value, use the set arp
agingtime 1200 command.