Cisco – DSCP trust boundary

ciscodscpjuniperqos

I have performed some analysis and noticed that traffic coming in from the Internet contains a myriad of DSCP values. This traffic competes for voice and video resources on the internal network.

How do I establish a trust boundary where all incoming DSCP is rewritten to zero on Cisco and Juniper routers?

Best Answer

The following policy-map would work. Just apply this to the inbound of the WAN interface.

policy-map MARKDOWN
  class class-default
    set dscp default

Interface Config:

interface gig 0/1
  service-policy input MARKDOWN

Just saw the bit about juniper. The following I believe will work for JunOS.

interfaces {
  so-1/2/3 {
    unit 0 {
      rewrite-rules {
        dscp default;
      }
    }
  }
}