Fortinet white logo
Fortinet white logo

CLI Reference

system vxlan

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
    # Configure VXLAN devices.
    edit <name>
        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.
        set remote-ip <ip1> <ip2> ...    IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN. size[15]
        set remote-ip6 <ip61> <ip62> ...     IPv6 address of the VXLAN interface on the device at the remote end of the VXLAN. size[45]
        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

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
    # Configure VXLAN devices.
    edit <name>
        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.
        set remote-ip <ip1> <ip2> ...    IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN. size[15]
        set remote-ip6 <ip61> <ip62> ...     IPv6 address of the VXLAN interface on the device at the remote end of the VXLAN. size[45]
        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