108 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
mac_address
Enter the MAC address of the ARP mapping entry, in the format
H-H-H (H indicates a four digit hexadecimal number, for example
00e0-fc01-0000).
vlan_id
Enter the ID number of the local VLAN that you want to use to associate
with the ARP mapping entry. The VLAN ID can be in the range 1 to 4094.
Optional.
interface_type
Enter the type of the port that you want to use to send frames
to this address. Optional, but must be entered if a VLAN ID is specified.
interface_number
Enter the number of the port that you want to use to send
frames to this address. Optional, but must be entered if a VLAN ID is specified.
Description
Use the arp static command to manually configure the static ARP mapping
entries in the ARP mapping table. You must enter an IP address and MAC address
with this command. You can optionally enter a VLAN ID, which also requires entry
of an interface type and interface number. An aggregation port or port with LACP
enabled cannot be set as the egress port of static ARP.
Use the undo arp
ip_address
command to remove a static ARP mapping entry
from the ARP table.
To remove all static ARP entries, use the reset arp static command. Note that
the reset arp static command removes all static ARP entries permanently.
By default, the ARP mapping table is empty, and the Switch uses dynamic ARP to
maintain its address mapping.
Related commands: reset arp, display arp, debugging arp.
Example
To associate the IP address 202.38.10.2 with the MAC address 00e0-fc01-0000,
and the ARP mapping entry to Ethernet1/0/1 on VLAN1, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]arp static 202.38.0.10 00e0-fc01-0000 1 gigabitEthernet1/0/1
arp timer aging Syntax
arp timer aging
aging_time
undo arp timer aging
View
System View
Parameter
aging_time
Enter the aging time of dynamic ARP aging timer, in the range 1 to
1440 minutes. The default is 20 minutes.