gratuitous-arp-learning enable
Syntax
gratuitous-arp-learning enable
undo gratuitous-arp-learning enable
View
System view
Parameters
None
Description
Use the gratuitous-arp-learning enable command to enable the gratuitous ARP packet learning
function. Then, a switch receiving a gratuitous ARP packet can add the IP and MAC addresses carried
in the packet to its own dynamic ARP table if it finds no corresponding ARP entry for the ARP packet in
the cache.
Use the undo gratuitous-arp-learning enable command to disable the gratuitous ARP packet
learning function.
By default, the gratuitous ARP packet learning function is enabled.
Examples
# Enable the gratuitous ARP packet learning function on a switch.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] gratuitous-arp-learning enable
reset arp
Syntax
reset arp [ dynamic | static | interface interface-type interface-number ]
View
User view
Parameters
dynamic: Clears dynamic ARP entries.
static: Clears static ARP entries.
interface interface-type interface-number: Clears ARP entries of the specified port.
Description
Use the reset arp command to clear specific ARP entries.
Related commands: arp static, display arp.
1-8