The traffic filter is a simplified traffic policy. In contrast, the traffic policy configuration is more flexible and the application scope is wider.
The details are as follows:a) A traffic behavior can contain multiple flow actions.
b) The actions are as follows: Permit, deny, remark, redirect, and load balancing
c) Multiple C-B pairs can be configured in a traffic policy.
d) It can be applied to interface, global, and VLAN.
For the configuration you provide, the effects of the two types are the same.