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

Scroll to top