The rule-deny skip-action command creates an action for making the deny action in an ACL or ACL6 ineffective in a traffic behavior.
The undo rule-deny skip-action command cancels the configuration.
By default, no action for making the deny action in an ACL or ACL6 ineffective is created in a traffic behavior.
Usage Scenario
If a traffic classifier contains an ACL or ACL6 rule that defines the deny action, traffic matching the deny action is discarded.
To prevent such traffic from being discarded, run the rule-deny skip-action command in the traffic behavior view. The switch does not take other actions (except traffic statistics collection) defined in the traffic behavior for traffic matching the deny action.
Precautions
If both the rule-deny skip-action and statistic enable commands are configured in a traffic behavior, traffic matching the deny action in the ACL or ACL6 is forwarded based on the original forwarding path and statistics on the traffic are collected.
# Create an action for making the deny action in an ACL ineffective in traffic behavior b1.
<HUAWEI> system-view [HUAWEI] acl 3000 [HUAWEI-acl-adv-3000] rule deny ip source 192.168.10.1 0 [HUAWEI-acl-adv-3000] quit [HUAWEI] traffic classifier c1 [HUAWEI-classifier-c1] if-match acl 3000 [HUAWEI-classifier-c1] quit [HUAWEI] traffic behavior b1 [HUAWEI-behavior-b1] rule-deny skip-action