The arp scan command configures ARP automatic scanning. This function enables the device to learn ARP entries by sending ARP Request packets to the network segment of the interface IP address.
Parameter | Description | Value |
---|---|---|
start-ip-address |
Specifies the start IP address for ARP automatic scanning. The start IP address must be smaller than or equal to the end IP address. |
The value is in dotted decimal notation. |
end-ip-address |
Specifies the end IP address for ARP automatic scanning. The end IP address must be greater than or equal to the end IP address. |
The value is in dotted decimal notation. |
VLANIF interface view, GE interface view, GE sub-interface view, MultiGE interface view, MultiGE sub-interface view, 40GE interface view, 40GE sub-interface view, XGE interface view, 25GE interface view, XGE sub-interface view, 25GE sub-interface view, 100GE interface view, 100GE sub-interface view, Eth-Trunk interface view, or Eth-Trunk sub-interface view
Usage Scenario
You can run the arp scan command to configure ARP automatic scanning so that the device can quickly learn ARP entries of the neighbors in the same network segment.
ARP automatic scanning is used together with fixed ARP. Run the arp scan command to enable the device to obtain dynamic ARP entries from all devices in the network. Then run the arp fixup command to configure the device to convert the obtained dynamic ARP entries to static ARP entries to prevent network attacks.
Prerequisites
On an Ethernet interface working in Layer 2 mode, the undo portswitch command has been run to switch the interface to Layer 3 mode.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.
Precautions