
No.
Data
2
(Optional) Aging time of blacklist entries
3.5.2 Enabling the Blacklist Function
To make the entries added to the blacklist manually or dynamically effective, you must first
enable the blacklist function.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
firewall blacklist enable
The blacklist function is enabled.
By default, the blacklist function is disabled.
----End
3.5.3 Adding IP Addresses to the Blacklist Manually
After an IP address is added to the blacklist, the firewall denies the packets from this IP address
until this entry expires.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
firewall blacklist
ip-address
[
vpn-instance
vpn-instance-name
] [
expire-time
minutes
]
An entry is added to the blacklist.
When adding an entry to the blacklist, you can set the IP address, aging time, and VPN
instance. The aging time refers to the period in which the IP address is effective after it is added
to the blacklist. When the IP address expires, it is released from the blacklist. If the aging time
is not specified, the IP address is always valid in the blacklist.
An IP address can be added to the blacklist regardless of whether the blacklist is enabled or not.
That is, even though the blacklist is not enabled, you can add entries, but the entries do not take
effect until the blacklist is enabled.
You can add up to 32 entries to a blacklist.
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
3 Firewall Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
56