Fortinet white logo
Fortinet white logo

CLI Reference

config firewall address6-template

config firewall address6-template

Configure IPv6 address templates.

config firewall address6-template
    Description: Configure IPv6 address templates.
    edit <name>
        set ip6 {ipv6-network}
        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
        set subnet-segment-count {integer}
    next
end

config firewall address6-template

Parameter

Description

Type

Size

ip6

IPv6 address prefix.

ipv6-network

Not Specified

name

IPv6 address template name.

string

Maximum length: 63

subnet-segment-count

Number of IPv6 subnet segments.

integer

Minimum value: 1 Maximum value: 6

config subnet-segment

Parameter

Description

Type

Size

id

Subnet segment ID.

integer

Minimum value: 0 Maximum value: 4294967295

name

Subnet segment name.

string

Maximum length: 63

bits

Number of bits.

integer

Minimum value: 1 Maximum value: 16

exclusive

Enable/disable exclusive value.

option

-

Option

Description

enable

Enable exclusive value.

disable

Disable exclusive value.

config values

Parameter

Description

Type

Size

name

Subnet segment value name.

string

Maximum length: 63

value

Subnet segment value.

string

Maximum length: 35

config firewall address6-template

config firewall address6-template

Configure IPv6 address templates.

config firewall address6-template
    Description: Configure IPv6 address templates.
    edit <name>
        set ip6 {ipv6-network}
        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
        set subnet-segment-count {integer}
    next
end

config firewall address6-template

Parameter

Description

Type

Size

ip6

IPv6 address prefix.

ipv6-network

Not Specified

name

IPv6 address template name.

string

Maximum length: 63

subnet-segment-count

Number of IPv6 subnet segments.

integer

Minimum value: 1 Maximum value: 6

config subnet-segment

Parameter

Description

Type

Size

id

Subnet segment ID.

integer

Minimum value: 0 Maximum value: 4294967295

name

Subnet segment name.

string

Maximum length: 63

bits

Number of bits.

integer

Minimum value: 1 Maximum value: 16

exclusive

Enable/disable exclusive value.

option

-

Option

Description

enable

Enable exclusive value.

disable

Disable exclusive value.

config values

Parameter

Description

Type

Size

name

Subnet segment value name.

string

Maximum length: 63

value

Subnet segment value.

string

Maximum length: 35