Ethernet Switch CLI Reference Guide
39
CHAPTER 7
ARP Learning Commands
Use these commands to configure how the Switch updates the ARP table.
7.1 Command Summary
The following section lists the commands for this feature.
7.2 Command Examples
This example changes the ARP learning mode on port 8 from arp-reply to arp-request.
Table 22 arp-learning Command Summary
COMMAND DESCRIPTION M P
interface port-channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
arp-learning <arp-
reply|gratuitous-arp|arp-
request>
Sets the ARP learning mode the Switch uses on the port.
arp-reply: the Switch updates the ARP table only with the
ARP replies to the ARP requests sent by the Switch.
gratuitous-arp: the Switch updates its ARP table with
either an ARP reply or a gratuitous ARP request. A gratuitous
ARP is an ARP request in which both the source and
destination IP address fields are set to the IP address of the
device that sends this request and the destination MAC
address field is set to the broadcast address.
arp-request: the Switch updates the ARP table with both
ARP replies, gratuitous ARP requests and ARP requests.
C13
no arp-learning Resets the ARP learning mode to its default setting (arp-
reply).
C13
sysname# configure
sysname(config)# interface port-channel 8
sysname(config-interface)# arp-learning arp-request