3Com 4500 PWR 50-PORT Switch User Manual


 
ARP Configuration Commands 103
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:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]arp static 202.38.0.10 00e0-fc01-0000 1 Ethernet1/0/1
arp static Note that this command does the same as the command above, except there is no
port parameter as you are already in the port view.
Syntax
arp static ip_address mac_address vlan_id
undo arp static ip_address
View
Ethernet Port View
Parameters
ip_address Enter the IP address of the ARP mapping entry.
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 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.
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.
Use the undo arp static 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.