Layer 2 protocol tunneling (L2PT) is achieved by encapsulating the PDUs at the ingress PE device before transmitting them over the service provider network. The encapsulation prevents the PDUs from being processed by the switches in the SP network. At the egress PE device, the encapsulated packets are de-encapsulated, and transmitted to the CE device.
As VXLAN tunneled packets cross L3 boundaries in the underlay network, the CoS can get lost when traversing L3 boundaries. An operator may choose to configure a Differentiated Services Code Point (DSCP) that needs to be set in the outer IP header of the encapsulated packets. If the packet encapsulated into the VXLAN tunnel is an IP packet, the DSCP from inner IP header is typically copied to DSCP of the outer IP header. A configuration option is provided to overwrite this outer DSCP value. In case of L2 protocols (which do not have an inner DSCP), the configured DSCP value is set in the outer IP header.
This command is supported on the ExtremeSwitching X770, X670-G2, X465, X590, X690, X695, X870, 5520 series switches, and stacks with X465, X590, X670-G2, X690, X770, X695, X870, 5520 slots only.
clear l2pt counters {[vlan] vlan_name {{vxlan {vr vr_name} rtep rtep_ipv4}}}
configure [[{vlan vlan_name] [vxlan {vr vr_name} rtep rtep_ipv4]] l2pt profile [none | profile_name]
show [[{vlan} vlan_name] {{vxlan {vr vr_name} rtep rtep_ipv4}}] l2pt {detail}