Got it

Delete ACL rules

Created: Nov 30, 2021 12:32:28Latest reply: Nov 30, 2021 12:34:06 192 2 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Need the procedure for Delete ACL rules on S series switches



Featured Answers
AymanOT
MVE Author Created Nov 30, 2021 12:34:06

to Delete ACL rules on S series switches                        

Run the undo rule <rule-id>
command on an S series switch (except the S1700 switch) to delete
specified rules in an ACL.
For example, delete the rule 10 in the ACL 3001 as follows:
[HUAWEI]acl 3001
[HUAWEI-acl-adv-3001]display this
#
acl number 3001
 rule 10 permit gre
 rule 15 deny ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
 rule 20 deny ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255
#
return
[HUAWEI-acl-adv-3001]undo rule 10
[HUAWEI-acl-adv-3001]display this
#
acl number 3001
 rule 15 deny ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
 rule 20 deny ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255
#
return
View more
  • x
  • convention:

All Answers
Hello, friend!
It's nice to meet you in the community.
We're working on getting the right answer for you.
View more
  • x
  • convention:

AymanOT
AymanOT MVE Author Created Nov 30, 2021 12:34:06

to Delete ACL rules on S series switches                        

Run the undo rule <rule-id>
command on an S series switch (except the S1700 switch) to delete
specified rules in an ACL.
For example, delete the rule 10 in the ACL 3001 as follows:
[HUAWEI]acl 3001
[HUAWEI-acl-adv-3001]display this
#
acl number 3001
 rule 10 permit gre
 rule 15 deny ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
 rule 20 deny ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255
#
return
[HUAWEI-acl-adv-3001]undo rule 10
[HUAWEI-acl-adv-3001]display this
#
acl number 3001
 rule 15 deny ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
 rule 20 deny ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255
#
return
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.