Fortinet white logo
Fortinet white logo

CLI Reference

config vxlan

config vxlan

Description: Configure VXLAN devices

config vxlan

edit <name>

set *vni [1 – 16777215]

set *remote-ip {ipv4-address}

set *local-ip {ipv4-address}

set dstport [1 – 65535]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (vxlan) # show
config system vxlan
    edit 1
        set vni 500
        set remote-ip 192.168.201.1
        set local-ip 192.168.200.1
        set dstport 4789
    next
end
Parameter Descripton Type Size Default
vni VXLAN network ID. integer 1 - 1677721 0
remote-ip IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN. IPv4 address - none
local-ip IPv4 address of the VXLAN interface on the device at the local end of the VXLAN. IPv4 address - none
dstport VXLAN destination port. integer 1 - 65535 4789

config vxlan

config vxlan

Description: Configure VXLAN devices

config vxlan

edit <name>

set *vni [1 – 16777215]

set *remote-ip {ipv4-address}

set *local-ip {ipv4-address}

set dstport [1 – 65535]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (vxlan) # show
config system vxlan
    edit 1
        set vni 500
        set remote-ip 192.168.201.1
        set local-ip 192.168.200.1
        set dstport 4789
    next
end
Parameter Descripton Type Size Default
vni VXLAN network ID. integer 1 - 1677721 0
remote-ip IPv4 address of the VXLAN interface on the device at the remote end of the VXLAN. IPv4 address - none
local-ip IPv4 address of the VXLAN interface on the device at the local end of the VXLAN. IPv4 address - none
dstport VXLAN destination port. integer 1 - 65535 4789