Got it

ACL Resquence

Created: Feb 9, 2022 06:10:26Latest reply: Feb 9, 2022 15:48:55 160 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello

We have a Huawei 6851-48S6Q , is there any way to resequences acl when we add new acl between them?

Thank you.

Featured Answers

Recommended answer

chenhui
Admin Created Feb 9, 2022 14:26:53

Hi,
You can specify the rule number.

For example, for the configuration below, 

#

acl number 2000

 rule 10 permit source 10.x.x.1 0

 rule 15 permit source 20.x.x.1 0

#

If you want to insert a rule between rule 10 and rule 15, you can refer the example below:

[Huawei] acl 2000
[Huawei-acl-basic-2000] rule 11 permit source 30.x.x.1 0

#

acl number 2000

 rule 10 permit source 10.x.x.1 0

 rule 11 permit source 30.x.x.1 0

 rule 15 permit source 20.x.x.1 0

#




View more
  • x
  • convention:

All Answers

Hi, friend!
I checked the manual and found no commands to move the ACL order.

View more
  • x
  • convention:

DDSN
DDSN Admin Created Feb 9, 2022 06:19:37

Hi user_4442131,
You can run the step command to change the ACL increment. If the increment value is changed, ACL rule IDs are automatically changed accordingly.

View more
  • x
  • convention:

You need to clarify the question. Do you need to add a rule inside the ACL, change the order of ACL execution, or something else?
View more
  • x
  • convention:

Hi,
You can specify the rule number.

For example, for the configuration below, 

#

acl number 2000

 rule 10 permit source 10.x.x.1 0

 rule 15 permit source 20.x.x.1 0

#

If you want to insert a rule between rule 10 and rule 15, you can refer the example below:

[Huawei] acl 2000
[Huawei-acl-basic-2000] rule 11 permit source 30.x.x.1 0

#

acl number 2000

 rule 10 permit source 10.x.x.1 0

 rule 11 permit source 30.x.x.1 0

 rule 15 permit source 20.x.x.1 0

#




View more
  • x
  • convention:

Hi,
You can specify the rule number.

For example, for the configuration below,

#

acl number 2000

rule 10 permit source 10.x.x.1 0

rule 15 permit source 20.x.x.1 0

#

If you want to insert a rule between rule 10 and rule 15, you can refer the example below:

[Huawei] acl 2000
[Huawei-acl-basic-2000] rule 11 permit source 30.x.x.1 0

#

acl number 2000

rule 10 permit source 10.x.x.1 0

rule 11 permit source 30.x.x.1 0

rule 15 permit source 20.x.x.1 0

#
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.