< Home

Adjusting the Increment of ACL Rules

Context

During routine maintenance, you may need to add rules to an ACL to meet new service requirements. If the default increment 5 is used, you can insert only four rules between neighboring rules (for example, rules 6, 7, 8, and 9 can be inserted between rules 5 and 10). To insert more than four rules between neighboring rules, increase the increment to a value greater than 6 so that the system reallocates IDs to the rules.

For details about the step, see ACL Increment.

Procedure

  1. Run the system-view command to enter the system view.
  2. You can create a numbered or named ACL.

    • Run the acl [ number ] acl-number [ match-order { auto | config } ] command to create a numbered ACL and enter the ACL view.

    • Run the acl name acl-name [ advance | basic | link | ucl | user | acl-number ] [ match-order { auto | config } ] command to create a named ACL and enter the ACL view.

    By default, no ACL exists on the device.

  3. Run the step step command to set the increment.

    The default increment is 5.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >