Hi Bradon,
Many thanks for your reply. I attached some capture files and config.
http://pan.baidu.com/s/1pJKPEEf
Please also be noted that not all config is related with this case. The useful ones are as listed below:
1. Port 25(ingress traffic), port 51(egress traffic), port 9(port mirroring).
2. ACL: “test”, “test1”, “test2”, “test3”, “test4”
3. QoSprofile/dscp remarking related config
Steps used:
With acl “test”, “test1” to “test4”, I performed this dscp remarking several times. Take acl “test2” and “test4” for instance.
Step 1- Testbed dscp remarking config:
configure diffserv replacement priority 6 code-point 40
create access-list test2 " protocol tcp ; destination-port 3456 ;" " qosprofile qp7 ; count test2 ; replace-dscp ;" application "Cli"
configure access-list add test2 last priority 0 zone SYSTEM ports 25 ingress
Send traffic matching acl “test2”. Capture the traffic traversing port 25 and port 51 to port 9.
Step 2- Change the dscp remarking config:
configure diffserv replacement priority 6 code-point 48
Send traffic matching acl “test2”. Capture the traffic traversing port 25 and port 51 to port 9.
DSCP in Outgoing traffic was not changed.
Step 3- Define a new acl “test4”, now the config is as follows:
configure diffserv replacement priority 6 code-point 48
create access-list test4 " protocol tcp ; destination-port 5678 ;" " qosprofile qp7 ; count test4 ; replace-dscp ;" application "Cli"
configure access-list add test4 last priority 0 zone SYSTEM ports 25 ingress
Send traffic matching acl “test4”. Capture the traffic traversing port 25 and port 51 to port 9.
As per above, it seems that existing acl will not follow the dscp remarking value if the dscp remarking value is changed, only those acl defined AFTER dscp remarking value changed will follow the action modifier to do the remark using the new value.