Fortinet white logo
Fortinet white logo

CLI Reference

config system vxlan

config system vxlan

Configure VXLAN devices.

config system vxlan

Description: Configure VXLAN devices.

edit <name>

set interface {string}

set vni {integer}

set ip-version [ipv4-unicast|ipv6-unicast|...]

set remote-ip <ip1>, <ip2>, ...

set remote-ip6 <ip61>, <ip62>, ...

set dstport {integer}

set multicast-ttl {integer}

next

end

config system vxlan

Parameter name

Description

Type

Size

interface

Outgoing interface for VXLAN encapsulated traffic.

string

Maximum length: 15

vni

VXLAN network ID.

integer

Minimum value: 1 Maximum value: 16777215

ip-version

IP version to use for the VXLAN interface and so for communication over the VXLAN. IPv4 or IPv6 unicast or multicast.

option

-

Option

Description

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.

remote-ip <ip>

IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN.

IPv4 address.

string

Maximum length: 15

remote-ip6 <ip6>

IPv6 IP address of the VXLAN interface on the device at the remote end of the VXLAN.

IPv6 address.

string

Maximum length: 45

dstport

VXLAN destination port (1 - 65535, default = 4789).

integer

Minimum value: 1 Maximum value: 65535

multicast-ttl

VXLAN multicast TTL (1-255, default = 0).

integer

Minimum value: 1 Maximum value: 255

config system vxlan

config system vxlan

Configure VXLAN devices.

config system vxlan

Description: Configure VXLAN devices.

edit <name>

set interface {string}

set vni {integer}

set ip-version [ipv4-unicast|ipv6-unicast|...]

set remote-ip <ip1>, <ip2>, ...

set remote-ip6 <ip61>, <ip62>, ...

set dstport {integer}

set multicast-ttl {integer}

next

end

config system vxlan

Parameter name

Description

Type

Size

interface

Outgoing interface for VXLAN encapsulated traffic.

string

Maximum length: 15

vni

VXLAN network ID.

integer

Minimum value: 1 Maximum value: 16777215

ip-version

IP version to use for the VXLAN interface and so for communication over the VXLAN. IPv4 or IPv6 unicast or multicast.

option

-

Option

Description

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.

remote-ip <ip>

IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN.

IPv4 address.

string

Maximum length: 15

remote-ip6 <ip6>

IPv6 IP address of the VXLAN interface on the device at the remote end of the VXLAN.

IPv6 address.

string

Maximum length: 45

dstport

VXLAN destination port (1 - 65535, default = 4789).

integer

Minimum value: 1 Maximum value: 65535

multicast-ttl

VXLAN multicast TTL (1-255, default = 0).

integer

Minimum value: 1 Maximum value: 255