1-6
Configuring Gratuitous ARP
Introduction to Gratuitous ARP
A gratuitous ARP packet is a special ARP packet, in which the sender IP address and the target IP
address are both the IP address of the sender, the sender MAC address is the MAC address of the
sender, and the target MAC address is the broadcast address ff:ff:ff:ff:ff:ff.
A device implements the following functions by sending gratuitous ARP packets:
z
Determining whether its IP address is already used by another device. If the IP address is already
used, the device issuing the gratuitous ARP packet will be informed by an ARP reply of the conflict.
z
Informing other devices of its MAC address change so that they can update their ARP entries.
A device receiving a gratuitous ARP packet adds the information carried in the packet to its own
dynamic ARP table if it finds no corresponding ARP entry for the ARP packet in the cache.
Configuring Gratuitous ARP
Follow these steps to configure gratuitous ARP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the device to send
gratuitous ARP packets when
receiving ARP requests from
another network segment
gratuitous-arp-sending
enable
Required
By default, a device cannot
send gratuitous ARP packets
when receiving ARP requests
from another network segment.
Enable the gratuitous ARP
packet learning function
gratuitous-arp-learning
enable
Optional
Enabled by default.
Displaying and Maintaining ARP
To do…
Use the command…
Remarks
Display ARP entries in the
ARP table
display arp
[ [
all
|
dynamic
|
static
] |
vlan
vlan-id
|
interface
interface-type
interface-number
] [ [
|
{
begin
|
exclude
|
include
}
regular-expression
] |
count
]
Available in any view
Display the ARP entry for a
specified IP address
display arp ip-address
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display the aging time for
dynamic ARP entries
display arp timer aging
Available in any view
Clear ARP entries from the
ARP table
For distributed devices
reset arp
{
all
|
dynamic
|
static
|
interface
interface-type interface-number
}
Available in user view
Содержание S5500-SI Series
Страница 161: ...3 10 GigabitEthernet1 0 1 2 MANUAL...
Страница 220: ...1 7 Clearing ARP entries from the ARP table may cause communication failures...
Страница 250: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 310: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 331: ...1 7 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete...
Страница 493: ...2 8...
Страница 1111: ...1 10 Installing patches Installation completed and patches will continue to run after reboot...