Fortinet Document Library

Version:


Table of Contents

Cookbook

6.2.0
Download PDF
Copy Link

VLAN inside VXLAN

VLANs can be assigned to VXLAN interfaces. In a data center network where VXLAN is used to create an L2 overlay network and for multitenant environments, a customer VLAN tag can be assigned to VXLAN interface.

To configure VLAN inside VXLAN:
  1. Configure VXLAN:
    config system vxlan
       edit "vxlan1"
          set interface port1
          set vni 1000
          set remote-ip 172.16.200.3
       next
    end
  2. Configure system interface:
    config system interface
       edit vlan100
         set vdom root
         set vlanid 100
         set interface dmz
       next
       edit vxlan100
         set type vlan
         set vlanid 100
         set vdom root
         set interface vxlan1
       next
    end
  3. Configure software-switch:
    config system switch-interface
      edit sw1
        set vdom root
        set member vlan100 vxlan100
      next
    end

VLAN inside VXLAN

VLANs can be assigned to VXLAN interfaces. In a data center network where VXLAN is used to create an L2 overlay network and for multitenant environments, a customer VLAN tag can be assigned to VXLAN interface.

To configure VLAN inside VXLAN:
  1. Configure VXLAN:
    config system vxlan
       edit "vxlan1"
          set interface port1
          set vni 1000
          set remote-ip 172.16.200.3
       next
    end
  2. Configure system interface:
    config system interface
       edit vlan100
         set vdom root
         set vlanid 100
         set interface dmz
       next
       edit vxlan100
         set type vlan
         set vlanid 100
         set vdom root
         set interface vxlan1
       next
    end
  3. Configure software-switch:
    config system switch-interface
      edit sw1
        set vdom root
        set member vlan100 vxlan100
      next
    end