vxlan DSCP Mapping
vxlan DSCP Mapping allows the selection of Differentiated Services Code Point DSCP and 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 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 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
- 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
switch(config)# interface vxlan 1
switch(config-if-Vx1)# vxlan qos dscp to traffic-class decapsulation
Show Commands
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 to derive TC on the outer DSCP field of the incoming vxlan packet.