Fortinet white logo
Fortinet white logo

CLI Reference

firewall address6-template

firewall address6-template

Use this command to configure IPv6 address templates that share a prefix. Using templates for addresses reduces the chance of configuring an incorrect address due to a typographical error.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config firewall address6-template

New config command.

Configure IPv6 address templates.

Note that the subnet-segment configuration method in this command is only available when subnet-segment-count has been set to a value.

Use templates created here in the firewall {address | address6}.

config firewall address6-template
    edit {name}
    # Configure IPv6 address templates.
        set name {string}   IPv6 address template name. size[63]
        set ip6 {ipv6 network}   IPv6 address prefix.
        set subnet-segment-count {integer}   Number of IPv6 subnet segments. range[1-6]
        config subnet-segment
            edit {id}
            # IPv6 subnet segments.
                set id {integer}   Subnet segment ID. range[0-4294967295]
                set name {string}   Subnet segment name. size[63]
                set bits {integer}   Number of bits. range[1-16]
                set exclusive {enable | disable}   Enable/disable exclusive value.
                config values
                    edit {name}
                    # Subnet segment values.
                        set name {string}   Subnet segment value name. size[63]
                        set value {string}   Subnet segment value. size[35]
                    next
            next
    next
end

firewall address6-template

firewall address6-template

Use this command to configure IPv6 address templates that share a prefix. Using templates for addresses reduces the chance of configuring an incorrect address due to a typographical error.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config firewall address6-template

New config command.

Configure IPv6 address templates.

Note that the subnet-segment configuration method in this command is only available when subnet-segment-count has been set to a value.

Use templates created here in the firewall {address | address6}.

config firewall address6-template
    edit {name}
    # Configure IPv6 address templates.
        set name {string}   IPv6 address template name. size[63]
        set ip6 {ipv6 network}   IPv6 address prefix.
        set subnet-segment-count {integer}   Number of IPv6 subnet segments. range[1-6]
        config subnet-segment
            edit {id}
            # IPv6 subnet segments.
                set id {integer}   Subnet segment ID. range[0-4294967295]
                set name {string}   Subnet segment name. size[63]
                set bits {integer}   Number of bits. range[1-16]
                set exclusive {enable | disable}   Enable/disable exclusive value.
                config values
                    edit {name}
                    # Subnet segment values.
                        set name {string}   Subnet segment value name. size[63]
                        set value {string}   Subnet segment value. size[35]
                    next
            next
    next
end