Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

system vxlan

Virtual Extensible LAN (VXLAN) is a network virtualization technology used in large cloud computing deployments. It encapsulates OSI layer 2 Ethernet frames within layer 3 IP packets using standard destination port 4789. VXLAN endpoints that terminate VXLAN tunnels can be virtual or physical switch ports, are known as VXLAN tunnel endpoints (VTEPs). For more information about VXLAN, see RFC 7348.

config system vxlan
    edit {name}
    # Configure VXLAN devices.
        set name {string}   VXLAN device or interface name. Must be a unique interface name. size[15]
        set interface {string}   Outgoing interface for VXLAN encapsulated traffic. size[15] - datasource(s): system.interface.name
        set vni {integer}   VXLAN network ID. range[1-16777215]
        set ip-version {ipv4-unicast | ipv6-unicast | ipv4-multicast | ipv6-multicast}   IP version to use for the VXLAN interface and so for communication over the VXLAN. IPv4 or IPv6 unicast or multicast.
                ipv4-unicast    Use IPv4 unicast addressing over the VXLAN.
                ipv6-unicast    Use IPv6 unicast addressing over the VXLAN.
                ipv4-multicast  Use IPv4 multicast addressing over the VXLAN.
                ipv6-multicast  Use IPv6 multicast addressing over the VXLAN.
        config remote-ip
            edit {ip}
            # IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN.
                set ip {string}   IPv4 address. size[15]
            next
        config remote-ip6
            edit {ip6}
            # IPv6 IP address of the VXLAN interface on the device at the remote end of the VXLAN.
                set ip6 {string}   IPv6 address. size[45]
            next
        set dstport {integer}   VXLAN destination port (1 - 65535, default = 4789). range[1-65535]
        set multicast-ttl {integer}   VXLAN multicast TTL (1-255, default = 0). range[1-255]
    next
end

system vxlan

Virtual Extensible LAN (VXLAN) is a network virtualization technology used in large cloud computing deployments. It encapsulates OSI layer 2 Ethernet frames within layer 3 IP packets using standard destination port 4789. VXLAN endpoints that terminate VXLAN tunnels can be virtual or physical switch ports, are known as VXLAN tunnel endpoints (VTEPs). For more information about VXLAN, see RFC 7348.

config system vxlan
    edit {name}
    # Configure VXLAN devices.
        set name {string}   VXLAN device or interface name. Must be a unique interface name. size[15]
        set interface {string}   Outgoing interface for VXLAN encapsulated traffic. size[15] - datasource(s): system.interface.name
        set vni {integer}   VXLAN network ID. range[1-16777215]
        set ip-version {ipv4-unicast | ipv6-unicast | ipv4-multicast | ipv6-multicast}   IP version to use for the VXLAN interface and so for communication over the VXLAN. IPv4 or IPv6 unicast or multicast.
                ipv4-unicast    Use IPv4 unicast addressing over the VXLAN.
                ipv6-unicast    Use IPv6 unicast addressing over the VXLAN.
                ipv4-multicast  Use IPv4 multicast addressing over the VXLAN.
                ipv6-multicast  Use IPv6 multicast addressing over the VXLAN.
        config remote-ip
            edit {ip}
            # IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN.
                set ip {string}   IPv4 address. size[15]
            next
        config remote-ip6
            edit {ip6}
            # IPv6 IP address of the VXLAN interface on the device at the remote end of the VXLAN.
                set ip6 {string}   IPv6 address. size[45]
            next
        set dstport {integer}   VXLAN destination port (1 - 65535, default = 4789). range[1-65535]
        set multicast-ttl {integer}   VXLAN multicast TTL (1-255, default = 0). range[1-255]
    next
end