This feature allows the configuration of custom DSCP-to-DSCP maps on a per-Nexthop Group (NHG) basis. When applied it rewrites the DSCP of the outer IP header of IPvX-in-IPvX (X represents both v4 and v6) encapsulated packets using the inner IPvX header’s DSCP value while ensuring the DSCP of the inner IPvX overlay is preserved.

This feature when configured enables users to rewrite the DSCP of the GUE encapsulated header on IP-over-UDP tunnels while preserving the TOS value of the inner IP ( IPv4 / IPv6 ) payload. Starting from software version 4.34.1F, the CLI configuration to enable or disable DSCP preserve globally on the egress interface introduces a clear distinction in the behavior of GUE encapsulation on the core facing interface of the IP-over-UDP tunnels. ( The user can configure DSCP to be rewritten using a set DSCP action via QoS Policy-Map or Traffic-Policy )

Generic UDP Encapsulation (GUE) is a method for encapsulating IPv4, IPv6 or MPLS packets within a UDP tunnel. By default hashing of GUE is based on inner fields for traffic being decapsulated and on outer and inner fields for transit traffic. This feature, when configured, disables hashing on inner fields and enables hashing on outer fields for both decapsulated and transit traffic. The feature supports only IPv4 and IPv6 payloads.