PCP to DSCP mapping

  • 1
  • Question
  • Updated 1 year ago
Packet ingress with layer 2 trunk port and have 802.1Q header with PCP value.
Packet egress with layer 3 routed port and have only DSCP value.
Does Cumulus support mapping PCP to DSCP ?
Photo of Yinghao Li

Yinghao Li

  • 80 Points 75 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Scott Suehle

Scott Suehle, Alum

  • 3,772 Points 3k badge 2x thumb
Yinghao Li,

At present time there is no support for this in Cumulus Linux. What are you attempting to accomplish with this setup? Perhaps we can suggest an alternative.

Thanks,

Scott
Photo of Yinghao Li

Yinghao Li

  • 80 Points 75 badge 2x thumb
Packet come with layer 2 802.1Q header, PCP is mark as 3. We need this PCP for packet classification and do lossless support (like PFC) when packet go out of the switch.
Currently if we do VxLAN encap, VxLAN will strip this 802.1Q header and only keep IP DSCP information. That is why we need mapping PCP to DSCP.