Fortinet black logo

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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 ip-mode [range|delegated]

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

status

Enable/disable this DHCPv6 configuration.

option

-

 

Option

Description

disable

Enable this DHCPv6 server configuration.

enable

Disable this DHCPv6 server configuration.

rapid-commit

Enable/disable allow/disallow rapid commit.

option

-

 

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

dns-service

Options for assigning DNS servers to DHCPv6 clients.

option

-

 

Option

Description

delegated

Delegated DNS settings.

default

Clients are assigned the FortiGate's configured DNS servers.

specify

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

dns-search-list

DNS search list options.

option

-

 

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

Not Specified

subnet

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

ipv6-prefix

Not Specified

interface

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

string

Not Specified

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

Not Specified

ip-mode

Method used to assign client IP.

option

-

 

Option

Description

range

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

delegated

Use delegated prefix method to assign client IP.

config prefix-range

Parameter

Description

Type

Size

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

config ip-range

Parameter

Description

Type

Size

start-ip

Start of IP range.

ipv6-address

Not Specified

end-ip

End of IP range.

ipv6-address

Not Specified

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 ip-mode [range|delegated]

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

status

Enable/disable this DHCPv6 configuration.

option

-

 

Option

Description

disable

Enable this DHCPv6 server configuration.

enable

Disable this DHCPv6 server configuration.

rapid-commit

Enable/disable allow/disallow rapid commit.

option

-

 

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

dns-service

Options for assigning DNS servers to DHCPv6 clients.

option

-

 

Option

Description

delegated

Delegated DNS settings.

default

Clients are assigned the FortiGate's configured DNS servers.

specify

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

dns-search-list

DNS search list options.

option

-

 

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

Not Specified

subnet

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

ipv6-prefix

Not Specified

interface

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

string

Not Specified

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

Not Specified

ip-mode

Method used to assign client IP.

option

-

 

Option

Description

range

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

delegated

Use delegated prefix method to assign client IP.

config prefix-range

Parameter

Description

Type

Size

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

config ip-range

Parameter

Description

Type

Size

start-ip

Start of IP range.

ipv6-address

Not Specified

end-ip

End of IP range.

ipv6-address

Not Specified