Operation Manual – ARP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 ARP Configuration
1-6
Follow these steps to enable the ARP entry check:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the ARP entry
check
arp check enable
Optional
Enabled by default.
1.2.5 ARP Configuration Example
I. Network requirements
z
Enable the ARP entry check.
z
Set the aging time for dynamic ARP entries to 10 minutes.
z
Set the maximum number of dynamic ARP entries that VLAN-interface 10 can
learn to 1,000.
z
Add a static ARP entry, with the IP address being 192.168.1.1/24, the MAC
address being 00e0-fc01-0000, and the outbound port being Ethernet 1/0/10 of
VLAN 10.
II. Configuration procedure
<Sysname> system-view
[Sysname] arp check enable
[Sysname] arp timer aging 10
[Sysname] vlan 10
[Sysname-vlan10] port Ethernet 1/0/10
[Sysname-vlan10] quit
[Sysname] interface vlan-interface 10
[Sysname-vlan-interface10] arp max-learning-num 1000
[Sysname-vlan-interface10] quit
[Sysname] arp static 192.168.1.1 00e0-fc01-0000 10 ethernet1/0/10
1.3 Configuring Gratuitous ARP
1.3.1 Introduction to Gratuitous ARP
A gratuitous ARP packet is a special ARP packet, in which the source IP address and
destination IP address are both the IP address of the sender, the source MAC address
is the MAC address of the sender, and the destination MAC address is a broadcast
address.
A device can implement the following functions by sending gratuitous ARP packets:
z
Determining whether its IP address is already used by another device.