...
In this example, the AP device needs to set DSCP from WMM priority when packets are routed. First, add a rule to set priority, it will be needed for the DSCP rule in order to correctly change the DSCP value. This rule can take priority from ingress. Then add the DSCP rule to change its value.
Code Block | ||
---|---|---|
| ||
/ip firewall mangle add action=set-priority chain=prerouting in-interface=wlan2 new-priority=from-ingress add action=change-dscp chain=prerouting in-interface=wlan2 new-dscp=from-priority |
...