
223
Configuration procedure
To configure ARP automatic scanning and fixed ARP:
Step Command
1.
Enter system view.
system-view
2.
Enter VLAN interface view.
interface
interface-type interface-number
3.
Enable ARP automatic scanning.
arp scan
[
start-ip-address
to
end-ip-address
]
4.
Return to system view.
quit
5.
Enable fixed ARP.
arp fixup
Configuring ARP gateway protection
Configure this feature on interfaces not connected with a gateway to prevent gateway spoofing attacks.
When such an interface receives an ARP packet, it checks whether the sender IP address in the packet is
consistent with that of any protected gateway. If yes, it discards the packet. If not, it handles the packet
normally.
Configuration guidelines
Follow these guidelines when you configure ARP gateway protection:
•
You can enable ARP gateway protection for a maximum of eight gateways on an interface.
•
Do not configure both the
arp filter source
and
arp filter binding
commands on an interface.
•
If ARP gateway protection works with ARP detection and ARP snooping, ARP gateway protection
applies first.
Configuration procedure
To configure ARP gateway protection:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface and
aggregate interface view.
interface
interface-type
interface-number
N/A
3.
Enable ARP gateway protection
for a specified gateway.
arp filter source
ip-address
By default, ARP gateway
protection is disabled.