Fortinet black logo

CLI Reference

config firewall vip64

config firewall vip64

Configure IPv6 to IPv4 virtual IPs.

config firewall vip64
    Description: Configure IPv6 to IPv4 virtual IPs.
    edit <name>
        set arp-reply [disable|enable]
        set color {integer}
        set comment {var-string}
        set extip {user}
        set extport {user}
        set id {integer}
        set ldb-method [static|round-robin|...]
        set mappedip {user}
        set mappedport {user}
        set monitor <name1>, <name2>, ...
        set name {string}
        set portforward [disable|enable]
        set protocol [tcp|udp]
        config realservers
            Description: Real servers.
            edit <id>
                set id {integer}
                set ip {ipv4-address-any}
                set port {integer}
                set status [active|standby|...]
                set weight {integer}
                set holddown-interval {integer}
                set healthcheck [disable|enable|...]
                set max-connections {integer}
                set monitor <name1>, <name2>, ...
                set client-ip {user}
            next
        end
        set server-type [http|tcp|...]
        set src-filter <range1>, <range2>, ...
        set type [static-nat|server-load-balance]
        set uuid {uuid}
    next
end

config firewall vip64

Parameter

Description

Type

Size

Default

arp-reply

Enable ARP reply.

option

-

enable

Option

Description

disable

Disable arp reply.

enable

Enable arp reply.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

0

comment

Comment.

var-string

Not Specified

extip

Start-external-IPv6-address [-end-external-IPv6-address].

user

Not Specified

extport

External service port.

user

Not Specified

id

Custom defined id.

integer

Minimum value: 0 Maximum value: 65535

0

ldb-method

Load balance method.

option

-

static

Option

Description

static

Distribute sessions based on source IP.

round-robin

Distribute sessions based round robin order.

weighted

Distribute sessions based on weight.

least-session

Distribute sessions to the server with the lowest session count.

least-rtt

Distribute sessions to the server with the lowest Round-Trip-Time.

first-alive

Distribute sessions to the first server that is alive.

mappedip

Start-mapped-IP [-end-mapped-IP].

user

Not Specified

mappedport

Mapped service port.

user

Not Specified

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

name

VIP64 name.

string

Not Specified

portforward

Enable port forwarding.

option

-

disable

Option

Description

disable

Disable port forwarding.

enable

Enable port forwarding.

protocol

Mapped port protocol.

option

-

tcp

Option

Description

tcp

TCP.

udp

UDP.

server-type

Server type.

option

-

Option

Description

http

HTTP

tcp

TCP

udp

UDP

ip

IP

src-filter <range>

Source IP6 filter (x:x:x:x:x:x:x:x/x).

Src-filter range.

string

Maximum length: 79

type

VIP type: static NAT or server load balance.

option

-

static-nat

Option

Description

static-nat

Static NAT.

server-load-balance

Server load balance.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

config realservers

Parameter

Description

Type

Size

Default

id

Real server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

Mapped server IP.

ipv4-address-any

Not Specified

0.0.0.0

port

Mapped server port.

integer

Minimum value: 1 Maximum value: 65535

0

status

Server administrative status.

option

-

active

Option

Description

active

Server status active.

standby

Server status standby.

disable

Server status disable.

weight

weight

integer

Minimum value: 1 Maximum value: 255

1

holddown-interval

Hold down interval.

integer

Minimum value: 30 Maximum value: 65535

300

healthcheck

Per server health check.

option

-

vip

Option

Description

disable

Disable per server health check.

enable

Enable per server health check.

vip

Use health check defined in VIP.

max-connections

Maximum number of connections allowed to server.

integer

Minimum value: 0 Maximum value: 2147483647

0

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

client-ip

Restrict server to a client IP in this range.

user

Not Specified

config firewall vip64

Configure IPv6 to IPv4 virtual IPs.

config firewall vip64
    Description: Configure IPv6 to IPv4 virtual IPs.
    edit <name>
        set arp-reply [disable|enable]
        set color {integer}
        set comment {var-string}
        set extip {user}
        set extport {user}
        set id {integer}
        set ldb-method [static|round-robin|...]
        set mappedip {user}
        set mappedport {user}
        set monitor <name1>, <name2>, ...
        set name {string}
        set portforward [disable|enable]
        set protocol [tcp|udp]
        config realservers
            Description: Real servers.
            edit <id>
                set id {integer}
                set ip {ipv4-address-any}
                set port {integer}
                set status [active|standby|...]
                set weight {integer}
                set holddown-interval {integer}
                set healthcheck [disable|enable|...]
                set max-connections {integer}
                set monitor <name1>, <name2>, ...
                set client-ip {user}
            next
        end
        set server-type [http|tcp|...]
        set src-filter <range1>, <range2>, ...
        set type [static-nat|server-load-balance]
        set uuid {uuid}
    next
end

config firewall vip64

Parameter

Description

Type

Size

Default

arp-reply

Enable ARP reply.

option

-

enable

Option

Description

disable

Disable arp reply.

enable

Enable arp reply.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

0

comment

Comment.

var-string

Not Specified

extip

Start-external-IPv6-address [-end-external-IPv6-address].

user

Not Specified

extport

External service port.

user

Not Specified

id

Custom defined id.

integer

Minimum value: 0 Maximum value: 65535

0

ldb-method

Load balance method.

option

-

static

Option

Description

static

Distribute sessions based on source IP.

round-robin

Distribute sessions based round robin order.

weighted

Distribute sessions based on weight.

least-session

Distribute sessions to the server with the lowest session count.

least-rtt

Distribute sessions to the server with the lowest Round-Trip-Time.

first-alive

Distribute sessions to the first server that is alive.

mappedip

Start-mapped-IP [-end-mapped-IP].

user

Not Specified

mappedport

Mapped service port.

user

Not Specified

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

name

VIP64 name.

string

Not Specified

portforward

Enable port forwarding.

option

-

disable

Option

Description

disable

Disable port forwarding.

enable

Enable port forwarding.

protocol

Mapped port protocol.

option

-

tcp

Option

Description

tcp

TCP.

udp

UDP.

server-type

Server type.

option

-

Option

Description

http

HTTP

tcp

TCP

udp

UDP

ip

IP

src-filter <range>

Source IP6 filter (x:x:x:x:x:x:x:x/x).

Src-filter range.

string

Maximum length: 79

type

VIP type: static NAT or server load balance.

option

-

static-nat

Option

Description

static-nat

Static NAT.

server-load-balance

Server load balance.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

config realservers

Parameter

Description

Type

Size

Default

id

Real server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

Mapped server IP.

ipv4-address-any

Not Specified

0.0.0.0

port

Mapped server port.

integer

Minimum value: 1 Maximum value: 65535

0

status

Server administrative status.

option

-

active

Option

Description

active

Server status active.

standby

Server status standby.

disable

Server status disable.

weight

weight

integer

Minimum value: 1 Maximum value: 255

1

holddown-interval

Hold down interval.

integer

Minimum value: 30 Maximum value: 65535

300

healthcheck

Per server health check.

option

-

vip

Option

Description

disable

Disable per server health check.

enable

Enable per server health check.

vip

Use health check defined in VIP.

max-connections

Maximum number of connections allowed to server.

integer

Minimum value: 0 Maximum value: 2147483647

0

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

client-ip

Restrict server to a client IP in this range.

user

Not Specified