3Com 4500 Switch User Manual


 
1-5
z If they are not consistent, the ARP packet is considered invalid and the corresponding ARP entry is
not learned.
Configuring ARP
Follow these steps to configure ARP basic functions:
To do… Use the command… Remarks
Enter system view
system-view
Add a static ARP entry
arp static ip-address
mac-address [ vlan-id
interface-type
interface-number ]
Optional
By default, the ARP mapping
table is empty, and entries are
created dynamically by ARP.
Configure the ARP aging timer
arp timer aging aging-time
Optional
20 minutes by default.
Enable the ARP entry checking
function (that is, disable the
switch from learning ARP
entries with multicast MAC
addresses)
arp check enable
Optional
Enabled by default.
z Static ARP entries are valid as long as the Ethernet switch operates normally. But some operations,
such as removing a VLAN, or removing a port from a VLAN, will make the corresponding ARP
entries invalid and therefore removed automatically.
z As for the arp static command, the value of the vlan-id argument must be the ID of an existing
VLAN, and the port identified by the interface-type and interface-number arguments must belong to
the VLAN.
z Currently, static ARP entries cannot be configured on the ports of an aggregation group.
Configuring Gratuitous ARP
Follow these steps to configure gratuitous ARP:
To do… Use the command… Remarks
Enter system view
system-view
Enable the gratuitous ARP
packet learning function
gratuitous-arp-learning
enable
Optional
Disabled by default.
Enter VLAN interface view
interface Vlan-interface
vlan-id
Enable the VLAN interface to
send gratuitous ARP packets
periodically
gratuitous-arp
period-sending enable
Optional
Enabled by default.