This message was posted by a user wishing to remain anonymous
Hello,
I have a requirement to mark the traffic that my router sent to the customer with a DSCP marker (AF31).
I am not very familiar with DSCP marking on Juniper and I need some help from someone who has experience with QoS (DSCP marking) on Juniper.
The topology is: Server <-> Router1 <-MPLS-> Juniper MX <-eBGP-> Customer
I read the documentation related to DSCP marking / QoS and I implemented the below config on the MX router. Unfortunately, it is not working as expected.
set interfaces x unit y family inet filter output DSCP_IPv4set firewall family inet filter DSCP_marking term 1 then dscp af31set firewall family inet filter DSCP_marking term last then acceptAfter the implementation I noticed that Juniper MX marks the traffic on both directions (inbound and outbound), even if the marking is applied only for the outbound traffic.
Juniper MX should mark only the traffic sent to Customer. The traffic received from Customer is not marked and it should be sent to Router1 and Server without any marking.
But, somehow the traffic received from Customer is marked by Juniper MX and sent to the internal network with AF31.
My questions are:
1. Is the config wrong? Have I missed anything?
2. Can I use this family filter for IPv6 traffic, as well? Should I change anything for IPv6? From my understanding, I can use for IPv6, as well. In order to be on the safe side, I would like to double check with someone who has experience with DSCP markers on MX.
Any help is much appreciated! Thank you!