The arp scan command enables Address Resolution Protocol (ARP) automatic scanning on an interface so that the interface can send ARP Request packets to all interfaces whose IP addresses are in the same network segment with the IP address of the interface.
| Parameter | Description | Value |
|---|---|---|
start-ip-address |
Specifies a start IP address for ARP automatic scanning. The start IP address must be less than or equal to the end IP address. |
The value is in dotted decimal notation. |
end-ip-address |
Specifies an end IP address for ARP automatic scanning. The end IP address must be greater than or equal to the start IP address. |
The value is in dotted decimal notation. |
Ethernet interface view, Eth-Trunk interface view, VLANIF interface view, Ethernet sub-interface view, or Eth-Trunk sub-interface view
Usage Scenario
The arp scan command enables ARP automatic scanning to allow a device rapidly learn MAC addresses from the neighbor devices whose IP addresses are in the same network segment and generate corresponding ARP entries.
Follow-up Procedure
Enable fixed ARP using the arp fixup command.
ARP automatic scanning is generally used with fixed ARP. A device can use ARP automatic scanning to generate dynamic ARP entries about all its neighbor devices. Then the device can use fixed ARP to convert the dynamic ARP entries to static ARP entries. This process prevents a network from attacks.
Precautions