Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Enable VXLAN Routing on Cumulus Tomahawk

Overview

Cumulus devices equipped with Tomahawk and Tomahawk+ ASICs do not natively support Routing In and Out of Tunnels (RIOT). Therefore, switch ports for VXLAN routing must be configured to use hyperloop interfaces. Hyperloop interfaces recirculate packets through the ingress pipeline. As packets enter the VXLAN tunnel they are encapsulated, as they exit the VXLAN tunnel they are decapsulated.

To set up the hyperloop interface, you'll create a device profile, make sure your logical device has an unused port (as applicable), create an interface map, update your managed devices, assign the new device profile to the device, and deploy the device.

Create Device Profile for Hyperloop

  1. You can create a device profile from scratch, but it's more efficient to clone an existing one and change details that are different. Choose a device profile to clone from that is based on the device to be used for the hyperloop interface, and add 'hyperloop' to the name to distinguish it.
  2. In the Ports section of the device profile that you are cloning, click the port that you want as the hyperloop port.
    CAUTION:

    The remaining ports must be set to their native / default port speeds. If they are not, RIOT (and therefore VXLAN routing) won't work. For example, if you're using a 4 x 25G SFP28 breakout and you configure ports 1 and 2 for hyperloop, then ports 3 and 4 must be set to the default of 25G. If you set them to 10G, you will have connectivity, but hyperloop will not work.

  3. In the Transformation section, click the Edit button for that port.
  4. In the Settings field, change the value for "speed" to "loopback", then click Create.

    In the example below, for "full speed" transformation (100Gbps on QSFP28 port), the value for "speed" was changed from the default speed of "100G" to "loopback".

Update Logical Device for Hyperloop

If you have a logical device that includes the hyperloop port, make sure the port is configured for an Unused role.

Create Interface Map for Hyperloop

Create an interface map using the new device profile.

Update Managed Devices for Hyperloop

  1. Navigate to the managed device that will use hyperloop.
  2. Click the Edit button (top-right) and select the new hyperloop device profile from the drop-down list.
  3. Click Update to save your changes.

Assign Hyperloop Device Profile

In the blueprint, assign the new device profile to the appropriate device, then deploy it.

Verify Loopback Port

After deploying the device, verify that the hyperloop port is set to "loopback" by looking at the device file /etc/cumulus/ports.conf.