Configuring the VXLAN Identifier
The VXLAN identifier can be set only if the VXLAN network identifier mode has been set to User Configured. You can then set the VXLAN ID by either using the Contrail Web UI or by using Python commands.
To configure the global VXLAN identifier:
- From the Contrail Web UI, select Configure > Networking > Networks.
- Select the virtual network that you want to change the forwarding mode for.
- Click the gear icon
and select Edit.
The Edit Network window is displayed. Select the Advanced Options as shown in Figure 1.
Figure 1: Edit Network Window for VXLAN Identifier - Type the VXLAN identifier.
- Click Save.
Alternatively, you can use the following Python provisioning command to configure the VXLAN identifier:
python provisioning_forwarding_mode --project_fq_name
'defaultdomain: admin' --vn_name vn1 --forwarding_mode < vxlan_id
>