Print

VXLAN DSCP Mapping

VXLAN DSCP Mapping allows selecting Differentiated Services Code Point DSCPand Traffic Class TC values for packets at VTEPs ( VXLAN Tunnel Endpoint) along VXLAN encapsulation and decapsulation directions respectively.

An incoming packet from an edge port is encapsulated with a new IP and VXLAN header before being sent out to a remote VTEP via a core facing port for encapsulation direction.When this is enabled, the DSCP field of the outgoing packet is set as the value of the DSCP of the incoming packet at the edge port.

An incoming VXLAN packet on a core port is decapsulated and forwarded out via an edge port for decapsulation direction. When this is enabled, the TC value is derived from the value of the DSCP of the incoming VXLAN encapsulated packet at the core port. This is applicable for both VXLAN Bridging and Routing.

Platform Compatibility

The following platforms support VXLAN DSCP mapping:
  • DCS-7050SX3-48YC12
  • DCS-7050CX3M-32S
  • DCS-7050CX3-32S

Configuration

The following command enables the propagation of the DSCP field from the incoming packet to the VXLANencapsulated packet.

switch(config)# interface vxlan 1
switch(config-if-Vx1)# vxlan qos dscp propagation encapsulation
The following command enables the assignment of the TC value during decapsulation of a VXLAN packet.
switch(config)# interface vxlan 1
switch(config-if-Vx1)# vxlan qos dscp to traffic-class decapsulation

Show Commands

The show vxlan qos command shows the VXLAN DSCP and TC configuration.
switch# show vxlan qos 
VXLAN ECN Propagation is Disabled.
Outer header DSCP is derived from Inner DSCP.
Traffic Class is derived from Outer DSCP.

Limitation

The core ports must be in DSCP Trust mode in order to derive TC on the outer DSCP field of the incoming VXLAN packet.

..