Fortinet white logo
Fortinet white logo

CLI Reference

config system dhcp6 server

config system dhcp6 server

Configure DHCPv6 servers.

config system dhcp6 server
    Description: Configure DHCPv6 servers.
    edit <id>
        set status [disable|enable]
        set rapid-commit [disable|enable]
        set lease-time {integer}
        set dns-service [delegated|default|...]
        set dns-search-list [delegated|specify]
        set dns-server1 {ipv6-address}
        set dns-server2 {ipv6-address}
        set dns-server3 {ipv6-address}
        set dns-server4 {ipv6-address}
        set domain {string}
        set subnet {ipv6-prefix}
        set interface {string}
        set option1 {user}
        set option2 {user}
        set option3 {user}
        set upstream-interface {string}
        set delegated-prefix-iaid {integer}
        set ip-mode [range|delegated]
        set prefix-mode [dhcp6|ra]
        config prefix-range
            Description: DHCP prefix configuration.
            edit <id>
                set start-prefix {ipv6-address}
                set end-prefix {ipv6-address}
                set prefix-length {integer}
            next
        end
        config ip-range
            Description: DHCP IP range configuration.
            edit <id>
                set start-ip {ipv6-address}
                set end-ip {ipv6-address}
            next
        end
    next
end

config system dhcp6 server

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable this DHCPv6 configuration.

option

-

enable

Option

Description

disable

Enable this DHCPv6 server configuration.

enable

Disable this DHCPv6 server configuration.

rapid-commit

Enable/disable allow/disallow rapid commit.

option

-

disable

Option

Description

disable

Do not allow rapid commit.

enable

Allow rapid commit.

lease-time

Lease time in seconds, 0 means unlimited.

integer

Minimum value: 300 Maximum value: 8640000

604800

dns-service

Options for assigning DNS servers to DHCPv6 clients.

option

-

specify

Option

Description

delegated

Delegated DNS settings.

default

Clients are assigned the FortiProxy's configured DNS servers.

specify

Specify up to 3 DNS servers in the DHCPv6 server configuration.

dns-search-list

DNS search list options.

option

-

specify

Option

Description

delegated

Delegated the DNS search list.

specify

Specify the DNS search list.

dns-server1

DNS server 1.

ipv6-address

Not Specified

::

dns-server2

DNS server 2.

ipv6-address

Not Specified

::

dns-server3

DNS server 3.

ipv6-address

Not Specified

::

dns-server4

DNS server 4.

ipv6-address

Not Specified

::

domain

Domain name suffix for the IP addresses that the DHCP server assigns to clients.

string

Maximum length: 35

subnet

Subnet or subnet-id if the IP mode is delegated.

ipv6-prefix

Not Specified

::/0

interface

DHCP server can assign IP configurations to clients connected to this interface.

string

Maximum length: 15

option1

Option 1.

user

Not Specified

option2

Option 2.

user

Not Specified

option3

Option 3.

user

Not Specified

upstream-interface

Interface name from where delegated information is provided.

string

Maximum length: 15

delegated-prefix-iaid

IAID of obtained delegated-prefix from the upstream interface.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip-mode

Method used to assign client IP.

option

-

range

Option

Description

range

Use range defined by start IP/end IP to assign client IP.

delegated

Use delegated prefix method to assign client IP.

prefix-mode

Assigning a prefix from a DHCPv6 client or RA.

option

-

dhcp6

Option

Description

dhcp6

Use delegated prefix from a DHCPv6 client.

ra

Use prefix from RA.

config prefix-range

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-prefix

Start of prefix range.

ipv6-address

Not Specified

::

end-prefix

End of prefix range.

ipv6-address

Not Specified

::

prefix-length

Prefix length.

integer

Minimum value: 1 Maximum value: 128

0

config ip-range

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-ip

Start of IP range.

ipv6-address

Not Specified

::

end-ip

End of IP range.

ipv6-address

Not Specified

::

config system dhcp6 server

config system dhcp6 server

Configure DHCPv6 servers.

config system dhcp6 server
    Description: Configure DHCPv6 servers.
    edit <id>
        set status [disable|enable]
        set rapid-commit [disable|enable]
        set lease-time {integer}
        set dns-service [delegated|default|...]
        set dns-search-list [delegated|specify]
        set dns-server1 {ipv6-address}
        set dns-server2 {ipv6-address}
        set dns-server3 {ipv6-address}
        set dns-server4 {ipv6-address}
        set domain {string}
        set subnet {ipv6-prefix}
        set interface {string}
        set option1 {user}
        set option2 {user}
        set option3 {user}
        set upstream-interface {string}
        set delegated-prefix-iaid {integer}
        set ip-mode [range|delegated]
        set prefix-mode [dhcp6|ra]
        config prefix-range
            Description: DHCP prefix configuration.
            edit <id>
                set start-prefix {ipv6-address}
                set end-prefix {ipv6-address}
                set prefix-length {integer}
            next
        end
        config ip-range
            Description: DHCP IP range configuration.
            edit <id>
                set start-ip {ipv6-address}
                set end-ip {ipv6-address}
            next
        end
    next
end

config system dhcp6 server

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable this DHCPv6 configuration.

option

-

enable

Option

Description

disable

Enable this DHCPv6 server configuration.

enable

Disable this DHCPv6 server configuration.

rapid-commit

Enable/disable allow/disallow rapid commit.

option

-

disable

Option

Description

disable

Do not allow rapid commit.

enable

Allow rapid commit.

lease-time

Lease time in seconds, 0 means unlimited.

integer

Minimum value: 300 Maximum value: 8640000

604800

dns-service

Options for assigning DNS servers to DHCPv6 clients.

option

-

specify

Option

Description

delegated

Delegated DNS settings.

default

Clients are assigned the FortiProxy's configured DNS servers.

specify

Specify up to 3 DNS servers in the DHCPv6 server configuration.

dns-search-list

DNS search list options.

option

-

specify

Option

Description

delegated

Delegated the DNS search list.

specify

Specify the DNS search list.

dns-server1

DNS server 1.

ipv6-address

Not Specified

::

dns-server2

DNS server 2.

ipv6-address

Not Specified

::

dns-server3

DNS server 3.

ipv6-address

Not Specified

::

dns-server4

DNS server 4.

ipv6-address

Not Specified

::

domain

Domain name suffix for the IP addresses that the DHCP server assigns to clients.

string

Maximum length: 35

subnet

Subnet or subnet-id if the IP mode is delegated.

ipv6-prefix

Not Specified

::/0

interface

DHCP server can assign IP configurations to clients connected to this interface.

string

Maximum length: 15

option1

Option 1.

user

Not Specified

option2

Option 2.

user

Not Specified

option3

Option 3.

user

Not Specified

upstream-interface

Interface name from where delegated information is provided.

string

Maximum length: 15

delegated-prefix-iaid

IAID of obtained delegated-prefix from the upstream interface.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip-mode

Method used to assign client IP.

option

-

range

Option

Description

range

Use range defined by start IP/end IP to assign client IP.

delegated

Use delegated prefix method to assign client IP.

prefix-mode

Assigning a prefix from a DHCPv6 client or RA.

option

-

dhcp6

Option

Description

dhcp6

Use delegated prefix from a DHCPv6 client.

ra

Use prefix from RA.

config prefix-range

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-prefix

Start of prefix range.

ipv6-address

Not Specified

::

end-prefix

End of prefix range.

ipv6-address

Not Specified

::

prefix-length

Prefix length.

integer

Minimum value: 1 Maximum value: 128

0

config ip-range

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-ip

Start of IP range.

ipv6-address

Not Specified

::

end-ip

End of IP range.

ipv6-address

Not Specified

::