How to configure ARP anti-attack on an AR router

2

On a network, common ARP attack methods include ARP flooding and ARP spoofing. To avoid different types of harm caused by the ARP attacks, multiple types of solutions to the ARP security features are provided according to the attack types. By configuring ARP anti-flooding
and anti-spoofing, the maintenance cost arising from ensuring normal running of a network and security of network information can be effectively reduced, thereby providing users with a more secure network environment and more stable network services. For details about the configuration procedure, see the URL: AR100&AR120&AR150&AR160&AR200&AR1200&
AR1600&AR2200&AR3200&AR3600
V200R007 Product Documentation
.

Other related questions:
Can the device prevent ARP attacks after the ARP anti-attack function is configured
After the ARP anti-attack function is configured, the device can only reduce the impact of the ARP attacks. For example: --ARP Miss message limiting can only reduce the impact of ARP Miss attacks, but cannot prevent ARP Miss attacks or defend against ARP packet attacks or ARP spoofing attacks. --ARP gateway anti-collision can only prevent bogus gateway attacks, but cannot prevent ARP flood attacks or ARP spoofing gateway attacks.

ARP anti-spoofing configuration on S series switch
The S series switch, except S1700, provides various methods to prevent ARP spoofing attacks. Dynamic ARP inspection (DAI) This function applies to the network where DHCP snooping is configured. It is recommended to configure DAI on the access switches.DAI can prevent man-in-the-middle attacks. # Enable DAI on GE 1/0/1. [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] arp anti-attack check user-bind enable # Enable DAI in VLAN 100. [HUAWEI] vlan 100 [HUAWEI-vlan100] arp anti-attack check user-bind enable - Configure fixed ARP. To prevent ARP spoofing attacks, configure fixed ARP on the gateway. # Enable fixed ARP in fixed MAC mode. [HUAWEI] arp anti-attack entry-check fixed-mac enable - Configure ARP gateway anti-collision (available on only S5720SI/S5720S-SI, S5720EI, S5720HI, S6720EI, and modular switches). When user hosts are directly connected to the gateway, configure this function on the gateway. # Enable ARP gateway anti-collision. [HUAWEI] arp anti-attack gateway-duplicate enable - Configure the switch to actively discard gratuitous ARP packets (only available on modular switches). If you confirm that the gratuitous ARP packets are from attackers, enable the gateway to actively discard gratuitous ARP packets. # Enable the switch to actively discard gratuitous ARP packets globally. [HUAWEI] arp anti-attack gratuitous-arp drop

How to configure port anti-attacking on S switch?
[HUAWEI] cpu-defend policy test //create the policy, the name is test [HUAWEI-cpu-defend-policy-test] auto-port-defend enable //open the function [HUAWEI-cpu-defend-policy-test] auto-port-defend protocol all //open the port anti-attacking protocol [HUAWEI-cpu-defend-policy-test] auto-port-defend protocol all threshold 64 //configure the threshold [HUAWEI-cpu-defend-policy-test] auto-port-defend sample 5 //sampling rate of protocol packets based on port defense [HUAWEI-cpu-defend-policy-test] auto-port-defend aging-time 500 //Configure the aging detection interval for port attack defense [HUAWEI-cpu-defend-policy-test] quit [HUAWEI] cpu-defend-policy test global //apply the policy

Configure attack defense on an AR router
Attack defense mainly defends the CPU against attack packets to ensure that the server can normally run in case of an attack. Attack defense configuration is composed of the following parts: enabling attack defense, (optional) configuring flooding defense parameters, super-large ICMP packet defense parameters, and scan attack defense parameters, and checking configuration result. By default, no type of attack defense is enabled. For details about how to configure attack defense of AR series routers using command lines and through the web NMS, see the URL: AR router configuration attack defense .

How to configure CPU anti-attacking on S switch?
[HUAWEI] cpu-defend policy test //create anti-attacking policy,the name is test [HUAWEI-cpu-defend-policy-test] car packet-type arp-request cir 120 //configure protocol packet limitation [HUAWEI-cpu-defend-policy-test] linkup-car packet-type ftp cir 5000 //configure dynamical link protection packet limitation [HUAWEI-cpu-defend-policy-test] quit [HUAWEI] cpu-defend-policy test global //apply the policy

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top