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


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


Configuration Guide - Security

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

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, separating the management plane from the service plane, security risks.
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 User-defined ACL Rule

Configuring a User-defined ACL Rule


User-defined ACLs classify packets by matching packet information against its rules. After a user-defined ACL is created, configure rules in the ACL.


When the device receives a packet, it matches the packet against ACL rules one by one based on the configuration order. Once the packet matches a rule in an ACL rule group, the device stops the matching process and performs the action specified in the matching rule on the packet.


  1. Run system-view

    The system view is displayed.

  2. Run acl { [ number ] acl-number | name acl-name { [ number ] acl-number | user } }

    A user-defined ACL is created, and the user-defined ACL view is displayed.

    The parameter acl-number specifies the number of a user-defined ACL. The value ranges from 5000 to 5999.

    By default, no ACL is created.

  3. Run rule [ rule-id ] [ name rule-name ] { deny | permit } [ [ l2-head | ipv4-head | l4-head | inner-ipv4-head ] { rule-string rule-mask offset } &<1-4> | time-range time-name ] *

    A user-defined ACL rule is configured.


    The CE6865EI, CE6857EI, CE8861EI, and CE8868EI do not support the parameters l2-head and ipv4-head.

    Only the CE6870EI and CE6875EI support the parameter inner-ipv4-head.

    When you configure a user-defined ACL rule:
    • If the offset position is not specified, the Ethernet frame header (l2–head) is the default offset position.
    • When you specify the parameter time-range to reference a time range to the ACL, the ACL cannot be bound to the specified time range if the specified time-name does not exist.

  4. (Optional) Run rule rule-id description description

    The description of a user-defined ACL rule is configured.

    By default, no description is configured for an ACL rule.

    You are not allowed to configure the description for a rule that has not been created.

  5. Run commit

    The configuration is committed.

Updated: 2019-04-20

Document ID: EDOC1100074765

Views: 42366

Downloads: 113

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