Fortinet white logo
Fortinet white logo

CLI Reference

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 Name Description Type Size
status Enable/disable this DHCPv6 configuration.
disable: Enable this DHCPv6 server configuration.
enable: Disable this DHCPv6 server configuration.
option -
rapid-commit Enable/disable allow/disallow rapid commit.
disable: Do not allow rapid commit.
enable: Allow rapid commit.
option -
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.
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.
option -
dns-search-list DNS search list options.
delegated: Delegated the DNS search list.
specify: Specify the DNS search list.
option -
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
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
ip-mode Method used to assign client IP.
range: Use range defined by start IP/end IP to assign client IP.
delegated: Use delegated prefix method to assign client IP.
option -

config prefix-range

Parameter Name 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 Name Description Type Size
start-ip Start of IP range. ipv6-address Not Specified
end-ip End of IP range. ipv6-address Not Specified

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 Name Description Type Size
status Enable/disable this DHCPv6 configuration.
disable: Enable this DHCPv6 server configuration.
enable: Disable this DHCPv6 server configuration.
option -
rapid-commit Enable/disable allow/disallow rapid commit.
disable: Do not allow rapid commit.
enable: Allow rapid commit.
option -
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.
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.
option -
dns-search-list DNS search list options.
delegated: Delegated the DNS search list.
specify: Specify the DNS search list.
option -
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
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
ip-mode Method used to assign client IP.
range: Use range defined by start IP/end IP to assign client IP.
delegated: Use delegated prefix method to assign client IP.
option -

config prefix-range

Parameter Name 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 Name Description Type Size
start-ip Start of IP range. ipv6-address Not Specified
end-ip End of IP range. ipv6-address Not Specified