how do I clear the all rules under the acl view with one conmmand?

Created: May 14, 2019 19:11:26Latest reply: May 15, 2019 08:49:50 84 4 0 0
  Rewarded Hi-coins: 0 (problem resolved)

when we configure the policy, and apply the acl under the policy, if the acl needs to be modified but the total rules under the acl is a huge number, so it’s convenient to delete the acl and the reconfigure the acl, but I found this is forbidden, I’am wondering if there is a convenient way to earse the all rules with one command rather than delete the rules one by one?

  • x
  • convention:

Featured Answers
chenhui  Engager   Created May 14, 2019 19:17:25 Helpful(0) Helpful(0)

@user_3357111 hi!

Current Huawei switches do not support the clear all rules under ACL view via one command.
 
If you want to clear all the rules that amount to a huge total number, you can undo the acl and rebuild it. This could help you to do it quickly, but before you undo the acl, please make sure that it won't affect other traffic.
  • x
  • convention:

All Answers
chenhui  Engager   Created May 14, 2019 19:17:25 Helpful(0) Helpful(0)

@user_3357111 hi!

Current Huawei switches do not support the clear all rules under ACL view via one command.
 
If you want to clear all the rules that amount to a huge total number, you can undo the acl and rebuild it. This could help you to do it quickly, but before you undo the acl, please make sure that it won't affect other traffic.
  • x
  • convention:

Mohamed_Mostafa  Enthusiast Technician   Created May 15, 2019 03:45:34 Helpful(0) Helpful(0)

You can do a work around by display the ACL and copy all the rules to text file and add undo command before each rule then you can copy the rules from text files with the undo command and paste it in ACL view to undo all of them in one step .
  • x
  • convention:

Network & Security Engineer
kois     Created May 15, 2019 08:49:18 Helpful(0) Helpful(0)

Posted by chenhui at 2019-05-14 19:17 @user_3357111 hi,Current Huawei switches do not support clear all rules under ACL view via one comma ...
thanks, I'll try that.
  • x
  • convention:

kois     Created May 15, 2019 08:49:50 Helpful(0) Helpful(0)

Posted by Mohamed_Mostafa at 2019-05-15 03:45 You can do a work around by display the ACL and copy all the rules to text file and add undo command ...
thanks, I'll try that.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top