
l
Rate limit for ARP Request packets sent to the CPU: 64 pps
l
Rate limit for FTP packets after ALP is enabled: 2000 pps
l
Priority of DHCP Client packets: 3
NOTE
This section provides only the configuration procedure for the local attack defense function supported by
the AR1200-S. For details about the routing configuration, see the
Huawei AR1200-S Series Enterprise
Routers Configuration Guide - IP Routing
.
Procedure
Step 1
Configure an ACL to be referenced by the blacklist.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
acl number 4001
[RouterA-acl-L2-4001]
rule 5 permit source-mac 0001-c0a8-0102
[RouterA-acl-L2-4001]
quit
Step 2
Create an attack defense policy.
[RouterA]
cpu-defend policy devicesafety
Step 3
Configure the threshold for attack source tracing.
[RouterA-cpu-defend-policy-devicesafety]
auto-defend enable
[RouterA-cpu-defend-policy-devicesafety]
auto-defend threshold 50
Step 4
Configure a blacklist.
[RouterA-cpu-defend-policy-devicesafety]
blacklist 1 acl 4001
Step 5
Configure the rate limit for ARP Request packets sent to the CPU.
[RouterA-cpu-defend-policy-devicesafety]
packet-type arp-request rate-limit 64
Step 6
Configure the rate limit for FTP packets after ALP is enabled.
[RouterA-cpu-defend-policy-devicesafety]
application-apperceive packet-type ftp
rate-limit 2000
Step 7
Set the priority of DHCP Client packets.
[RouterA-cpu-defend-policy-devicesafety]
packet-type dhcp-client priority 3
[RouterA-cpu-defend-policy-devicesafety]
quit
Step 8
Apply the attack defense policy.
# Enable ALP for FTP.
[RouterA]
cpu-defend application-apperceive ftp enable
# Apply the attack defense policy to the SRU.
[RouterA]
cpu-defend-policy devicesafety
Step 9
Configure application layer association for Telnet.
[RouterA]
undo telnet server enable
Step 10
Verify the configuration.
# View information about the configured attack defense policy.
[RouterA]
display cpu-defend policy devicesafety
Related slot : <0>
BlackList Status :
Slot<0> : Success
Configuration :
Blacklist 1 ACL number : 4001
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
9 Local Attack Defense Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
180