QoS for VxLAN Layer 2 and Layer 3 Gateway Interconnections

VxLAN Layer 3 gateways resolve the ARP for host VMs and create routes. When VM1 sends inter-subnet packets to VM3, Leaf-A sends the packet to Spine-1 over the VxLAN configuration in the following figure. First, Spine-1 decapsulates the original Layer 2 frame inside the VxLAN tunnel, and the Layer 2 frame has DMAC as the gateway MAC of Spine-1. Then, Spine-1 routes the packet to VM3, where the ARP resolution is through the VxLAN configuration.

Click to expand in new window
QoS for VxLAN Layer 2 and Layer 3 gateway interconnections

Configuration example

The qos-dscp-mode Pipe command sets the QoS type mode to Pipe, which is the default. The following example configures Pipe QoS support on a VxLAN gateway.
device(config)# overlay-gateway gateway_L2L3
device(config-overlay-gw-gateway_L2L3)# type layer2-extension
device(config-overlay-gw-gateway_L2L3)# ip interface loopback 1
device(config-overlay-gw-gateway_L2L3)# qos-dscp-mode Pipe
device(config-overlay-gw-gateway_L2L3)# map vni auto 
device(config-overlay-gw-gateway_L2L3)# activate