Does SRX copy DSCP value from inner packet ( payload) into GRE imposed IP header when encapsulating it? If not , how can we tell SRX to copy DSCP value from inner packet into GRE header imposed IP header?
root@Router-2# set interfaces gr-0/0/0 unit 0 copy-tos-to-outer-ip-header ? Possible completions: <[Enter]> Execute this command accounting-profile Accounting profile name + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > backup-options Backup interface configuration options bandwidth Logical unit bandwidth (informational only) clear-dont-fragment-bit Clear DF bit in packet (AS PIC and J-series only) copy-tos-to-outer-ip-header Copy IP payload header's ToS field to GRE delivery header description Text description of interface disable Disable this logical interface encapsulation Logical link-layer encapsulation > family Protocol family no-traps Don't enable SNMP notifications on state changes point-to-point Point-to-point connection > ppp-options Point-to-Point Protocol interface-specific options > radio-router Parameters for dynamic link cost management traps Enable SNMP notifications on state changes > tunnel Tunnel parameters | Pipe through a command
Thanks, Suraj Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too
All Trannsit traffic , DSCP is copied from inner packet to GRE imposed IP header. This command has no impact on transit traffic.
All traffic locally sourced and routed over GRE will only copy DSCP from inner pcket to GRE imposed IP header if this command is configured so this command only impact locally generated traffic ( host traffic) which is routed over GRE.