Fortinet black logo

CLI Reference

config system zone

config system zone

Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in the zone.

config system zone
    Description: Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in the zone.
    edit <name>
        config tagging
            Description: Config object tagging.
            edit <name>
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set description {string}
        set interface <interface-name1>, <interface-name2>, ...
    next
end

config system zone

Parameter

Description

Type

Size

Default

description

Description.

string

Maximum length: 127

interface <interface-name>

Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined.

Select interfaces to add to the zone.

string

Maximum length: 79

config tagging

Parameter

Description

Type

Size

Default

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79

config system zone

Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in the zone.

config system zone
    Description: Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in the zone.
    edit <name>
        config tagging
            Description: Config object tagging.
            edit <name>
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set description {string}
        set interface <interface-name1>, <interface-name2>, ...
    next
end

config system zone

Parameter

Description

Type

Size

Default

description

Description.

string

Maximum length: 127

interface <interface-name>

Add interfaces to this zone. Interfaces must not be assigned to another zone or have firewall policies defined.

Select interfaces to add to the zone.

string

Maximum length: 79

config tagging

Parameter

Description

Type

Size

Default

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79