Fortinet white logo
Fortinet white logo

CLI Reference

firewall address6-template

Configure IPv6 address templates.

  config firewall address6-template
      Description: Configure IPv6 address templates.
      edit <name>
          set ip6 {ipv6-network}
          set subnet-segment-count {integer}
          config subnet-segment
              Description: IPv6 subnet segments.
              edit <id>
                  set name {string}
                  set bits {integer}
                  set exclusive [enable|disable]
                  config values
                      Description: Subnet segment values.
                      edit <name>
                          set value {string}
                      next
                  end
              next
          end
      next
  end

config firewall address6-template

Parameter Name Description Type Size
ip6 IPv6 address prefix. ipv6-network Not Specified
subnet-segment-count Number of IPv6 subnet segments. integer Minimum value: 1 Maximum value: 6

config subnet-segment

Parameter Name Description Type Size
name Subnet segment name. string Maximum length: 63
bits Number of bits. integer Minimum value: 1 Maximum value: 16
exclusive Enable/disable exclusive value.
enable: Enable exclusive value.
disable: Disable exclusive value.
option -

config values

Parameter Name Description Type Size
value Subnet segment value. string Maximum length: 35

firewall address6-template

Configure IPv6 address templates.

  config firewall address6-template
      Description: Configure IPv6 address templates.
      edit <name>
          set ip6 {ipv6-network}
          set subnet-segment-count {integer}
          config subnet-segment
              Description: IPv6 subnet segments.
              edit <id>
                  set name {string}
                  set bits {integer}
                  set exclusive [enable|disable]
                  config values
                      Description: Subnet segment values.
                      edit <name>
                          set value {string}
                      next
                  end
              next
          end
      next
  end

config firewall address6-template

Parameter Name Description Type Size
ip6 IPv6 address prefix. ipv6-network Not Specified
subnet-segment-count Number of IPv6 subnet segments. integer Minimum value: 1 Maximum value: 6

config subnet-segment

Parameter Name Description Type Size
name Subnet segment name. string Maximum length: 63
bits Number of bits. integer Minimum value: 1 Maximum value: 16
exclusive Enable/disable exclusive value.
enable: Enable exclusive value.
disable: Disable exclusive value.
option -

config values

Parameter Name Description Type Size
value Subnet segment value. string Maximum length: 35