3com 8807 Reference Guide

Page of 1099
ARP Configuration Commands
809
Description
Use the arp static command to configure the static ARP mapping entries in an 
ARP mapping table.
Use the undo arp static command to delete a static ARP mapping entry from the 
ARP table.
By default, the mapping table of the system ARP is empty and the switch can 
obtain its address mapping by means of dynamic ARP.
The arp static command can be used to configure auto filling of ARP entries. 
When configuring an ARP entry, if you input on the IP address, the switch will 
automatically set the MAC address to 0. Such a mapping entry is auto-fill ARP 
mapping entry. When an auto-fill ARP entry is resolved, the switch can 
automatically fill it with the learned MAC address as the MAC address 
corresponding to the IP address in this mapping entry.
Note that:
When the switch works normally, its static ARP mapping entries remain valid 
and work unless you perform operations that invalidate ARP entries, such as 
changing or removing VLAN interfaces, removing a VLAN, or removing an port 
from a VLAN. These operations will cause the corresponding ARP mapping 
entries to be automatically removed.
The argument vlan-id must be the ID of an existing VLAN, and the Ethernet 
port specified behind this parameter must belong to the VLAN.
The argument vpn-instance-name must be the VPN-instance name of an 
existing MPLS VPN.
ARP mapping entries with port parameters can be configured on manually 
aggregated ports or static aggregated ports, but cannot be configured on 
LACP-enabled dynamic aggregated ports.
If the mac-address of an ARP entry is a multicast MAC address, the system will 
assume this ARP entry to be multicast ARP entry.
The MAC address auto filling function is enabled only when the IP address 
protection function is enabled on the interface.
Once after the initial auto filling, the auto-fill ARP entry becomes a normal 
static ARP entry and cannot be filled again.
Long static ARP can be configured only on manually aggregated ports, but not 
on static aggregated ported or dynamic aggregated ports.
Related command: reset arpdisplay arp, and debugging arp.
Example
# Configure the MAC address corresponding to the IP address 202.38.10.2 to 
00e0-fc01-0000. This static ARP mapping entry is on Ethernet port Ethernet 2/1/1, 
which belongs to VLAN1.
[SW8800] arp static 202.38.0.10 00e0-fc01-0000 1 ethernet2/1/1