No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Security

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, MPAC, separating the management plane from the service plane, security risks, PKI.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Blacklist

Configuring a Blacklist

Context

A blacklist is a group of users with particular characteristics. The device discards packets from users in the blacklist. You can apply an ACL to a blacklist.In addition, for S1720GFR, S1720GW, S1720GWR, S1720X, S1720GW-E, S1720GWR-E, S1720X-E, S2720EI, S2750EI, S5700LI, S5700S-LI, S5710-X-LI, S5720LI, S5720S-LI, S5720SI, S5720S-SI, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI, packets matching the IPv4 blacklist are sent to the CPU first, and then discarded. To reduce impact of malicious packets on the CPU usage, you can configure the switch to discard the packets directly without sending them to the CPU.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run cpu-defend policy policy-name

    The attack defense policy view is displayed.

  3. Create a blacklist.

    • Run the blacklist blacklist-id acl acl-number1 command to create an IPv4 blacklist.

      The ACL referenced by the IPv4 blacklist can be a basic ACL, an advanced ACL, or a Layer 2 ACL. For details about ACL configuration, see ACL Configuration.

      By default, no IPv4 blacklist is configured.

    • Run the blacklist blacklist-id acl ipv6 acl-number2 command to create an IPv6 blacklist.

      Only advanced ACLs can be applied to the IPv6 blacklist. For details about ACL configuration, see ACL Configuration.

      By default, no IPv6 blacklist is configured.

    • Run the blacklist blacklist-id acl acl-number3 hard-drop command to create the blacklist that discards the packets matching ACL rules in the forwarding chip.

      The ACL referenced in this command must be an advanced ACL, and this command applies to only IPv4 packets. For details about ACL configuration, see ACL Configuration.

      By default, the blacklist that discards the packets matching ACL rules in the forwarding chip is not configured.

    NOTE:
    • An attack defense policy can contain a maximum of eight blacklists (including IPv4 and IPv6 blacklists and the blacklist that discards the packets matching ACL rules).
    • Packets matching the ACL applied to a blacklist are discarded, regardless of whether the ACL contains a permit or deny rule.
    • If an ACL has no rule, the blacklist that references the ACL does not take effect.
    • Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support the IPv6 blacklist.
    • Only the S1720GFR, S1720GW, S1720GWR, S1720X, S1720GW-E, S1720GWR-E, S1720X-E, S2720EI, S2750EI, S5700LI, S5700S-LI, S5710-X-LI, S5720LI, S5720S-LI, S5720SI, S5720S-SI, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI support the blacklist that discards the packets matching ACL rules in the forwarding chip.

Translation
Download
Updated: 2019-03-28

Document ID: EDOC1000178177

Views: 222657

Downloads: 720

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next