Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring the VXLAN Identifier Mode

 

You can configure the global VXLAN identifier mode to select an auto-generated VNID or a user-generated VXLAN ID, either through the Contrail Web UI or by modifying a python file.

To configure the global VXLAN identifier mode:

  1. From the Contrail Web UI, select Configure > Infrastucture > Global Config.

    The Global Config options and values are displayed in the Global Config window.

    Figure 1: Global Config Window for VXLAN ID
    Global Config Window for VXLAN ID
  2. Click the edit icon .

    The Edit Global Config window is displayed as shown in Figure 2.

    Figure 2: Edit Global Config Window for VXLAN Identifier Mode
    Edit Global Config Window
for VXLAN Identifier Mode
  3. Select one of the following:

    • Auto Configured— The VXLAN identifier is automatically assigned for the virtual network.

    • User Configured– You must provide the VXLAN identifier for the virtual network.

    Note

    When User Configured is selected, if you do not provide an identifier, then VXLAN encapsulation is not used and the mode falls back to MPLS.

Alternatively, you can set the VXLAN identifier mode by using Python to modify the /opt/contrail/utils/encap.py file as follows:

python encap.py <add | update | delete > <username > < password > < tenant_name > < config_node_ip >