17
context-admin
Usage guidelines
VXLAN fast forwarding enables the device to bypass QoS and security services when the device
forwards data traffic over VXLAN tunnels based on the software. As a best practice, enable this
feature to improve forwarding speed only when QoS and security services are not configured on the
following interfaces:
•
VSI interfaces.
•
Traffic outgoing interfaces for VXLAN tunnels.
When VXLAN fast forwarding is enabled, a VXLAN tunnel cannot use ECMP routes to load share
traffic. Instead, it selects one route from the ECMP routes to forward VXLAN packets.
Examples
# Enable VXLAN fast forwarding.
<Sysname> system
[Sysname] vxlan fast-forwarding enable
vxlan invalid-udp-checksum discard
Use
vxlan invalid-udp-checksum discard
to enable the device to drop the VXLAN
packets that fail UDP checksum check.
Use
undo vxlan invalid-udp-checksum discard
to restore the default.
Syntax
vxlan invalid-udp-checksum discard
undo vxlan invalid-udp-checksum discard
Default
The device does not check the UDP checksum of VXLAN packets.
Views
System view
Predefined user roles
network-admin
context-admin
Usage guidelines
This command enables the device to check the UDP checksum of VXLAN packets.
The device always sets the UDP checksum of VXLAN packets to 0. For compatibility with third-party
devices, a VXLAN packet can pass the check if its UDP checksum is 0 or correct. If its UDP
checksum is incorrect, the VXLAN packet fails the check and is dropped.
Examples
# Enable the device to drop the VXLAN packets that fail UDP checksum check.
<Sysname> system-view
[Sysname] vxlan invalid-udp-checksum discard
vxlan local-mac report
Use
vxlan local-mac report
to enable local-MAC logging.