Why Does a Traffic Policy Containing User-defined ACL Rules Fail to Be Applied i
|
The cause is that the offset values of user-defined ACLs in the traffic policy are different. In a traffic policy, offset values of user-defined ACLs must be the same. The configuration procedure is as follows:
[HUAWEI-acl-user-5000]rule 5 permit l4-head 0x00000868 0x0000ffff 0 //The offset is 0. [HUAWEI-acl-user-5000]rule 10 permit l4-head 0x00060000 0x00ff0000 24 //The offset is 24. [HUAWEI-acl-user-5000]quit
[HUAWEI-classifier-c5000]if-match acl 5000 [HUAWEI-classifier-c5000]quit
[HUAWEI-behavior-b5000]redirect interface GigabitEthernet 0/0/4 [HUAWEI-behavior-b5000]quit
[HUAWEI-trafficpolicy-p5000]classifier c5000 behavior b5000 [HUAWEI-trafficpolicy-p5000]quit [HUAWEI]interface GigabitEthernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1]traffic-policy p5000 inbound Info: This operation maybe take a long time, please wait for a moment.
|

Favorite (0)