3Com Switch 8800 Configuration Guide
Chapter 12 ARP Configuration
12-2
corresponding MAC address of Host B and adds them to its own ARP mapping table.
Then Host A sends Host B all the packets standing in the queue.
Normally, dynamic ARP takes effect and automatically searches for the resolution from
the IP address to the Ethernet MAC address without the help of an administrator.
12.2 Configuring ARP
The ARP mapping table can be maintained dynamically or manually. Usually, the
manually configured mapping from the IP addresses to the MAC addresses is known
as static ARP. The user can display, add or delete the entries in the ARP mapping table
through relevant manual maintenance commands.
The following sections describe static ARP configuration tasks:
z
Manually Adding/Deleting Static ARP Mapping Entries
z
Configuring the Dynamic ARP Aging Timer
z
Enabling/Disabling the Checking Function of ARP Entry
12.2.1 Manually Adding/Deleting Static ARP Mapping Entries
Perform the following configuration in system view.
Table 12-1
Manually add/delete static ARP mapping entries
Operation
Command
Manually add a static ARP mapping
entry
arp static
ip
-
address
mac
-
address
[
vlan
-
id
{
interface_type
interface_num
|
interface_name
} |
vpn
-
instance
-
name
]
Manually delete a static ARP mapping
entry
undo arp ip
-
address
By default, the ARP mapping table is empty and the address mapping is obtained
through dynamic ARP.
Note that:
z
As long as a switch operates, its static ARP mapping entries remain valid unless
you perform operations that make ARP invalid, such as change or remove VLAN
virtual interfaces, remove a VLAN, or remove an interface from a VLAN. These
operations cause the corresponding ARP mapping entries to be automatically
removed.
z
The
vlan
-
id
argument must be the ID of a VLAN that has been created by the user,
and the Ethernet port specified behind this parameter must belong to the VLAN.
z
As for the
vpn
-
instance
-
name
argument, you must provide the VPN-instance
name of an existing MPLS VPN for it.
z
ARP map entries with port parameters cannot be configured for aggregated ports.