Technical data

Configuring Address Resolution Protocol (ARP) 63
Configuring ARP The ARP mapping table can be maintained dynamically or manually. Addresses
that are mapped manually are referred to as static ARP. The user can display, add,
or delete the entries in the ARP mapping table through manual commands.
ARP configuration includes tasks described in the following sections:
Manually Adding/Deleting Static ARP Mapping Entries
Learning Gratuitous ARPs
Configuring the Dynamic ARP Aging Timer
Displaying and Debugging ARP
Manually Adding/Deleting Static ARP Mapping Entries
Perform the following configuration in System view.
Static ARP mapping entries will not time out, however dynamic ARP mapping
entries time out after 20 minutes.
The ARP mapping table is empty and the address mapping is obtained through
dynamic ARP by default.
Learning Gratuitous ARPs
Perform the following configuration in System view.
By default, the switch does not learn gratuitous ARPs.
Configuring the Dynamic ARP Aging Timer
The following commands assign a dynamic ARP aging period to enable flexible
configurations. When the system learns a dynamic ARP entry, its aging period is
based on the currently configured value.
Perform the following configuration in system view.
By default, the aging time of the dynamic ARP aging timer is 20 minutes.
Table 4 Manually Adding/Deleting Static ARP Mapping Entries
Operation Command
Manually add a static ARP mapping entry arp static ip-address mac-address VLANID {
interface_type interface_num | interface_name
}
Manually delete a static ARP mapping entry undo arp static ip-address
Table 5 Learning Gratuitous ARPs
Operation Command
Enable the switch to learn gratuitous ARPs gratuitous-arp-learning enable
Prevent the switch from learning gratuitous
ARPs
undo gratuitous-arp-learning enable
Table 6 Configure the Dynamic ARP Aging Timer
Operation Command
Configure the dynamic ARP aging timer arp timer aging aging-time
Restore the default dynamic ARP aging time undo arp timer aging