Fortinet black logo

CLI Reference

config firewall addrgrp

config firewall addrgrp

Configure IPv4 address groups.

config firewall addrgrp
    Description: Configure IPv4 address groups.
    edit <name>
        config member
            Description: Address objects contained within the group.
            edit <name>
            next
        end
        set comment {var-string}
        set visibility [enable|disable]
        set color {integer}
        config tags
            Description: Name(s) of object-tags applied to address.
            edit <name>
            next
        end
        set allow-routing [enable|disable]
    next
end

config firewall addrgrp

Parameter

Description

Type

Size

comment

Comment.

var-string

Maximum length: 255

visibility

Enable/disable address visibility in the GUI.

option

-

Option

Description

enable

Show in address group selection.

disable

Hide from address group selection.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

allow-routing

Enable/disable use of this group in the static route configuration.

option

-

Option

Description

enable

Enable use of this group in the static route configuration.

disable

Disable use of this group in the static route configuration.

config firewall addrgrp

Configure IPv4 address groups.

config firewall addrgrp
    Description: Configure IPv4 address groups.
    edit <name>
        config member
            Description: Address objects contained within the group.
            edit <name>
            next
        end
        set comment {var-string}
        set visibility [enable|disable]
        set color {integer}
        config tags
            Description: Name(s) of object-tags applied to address.
            edit <name>
            next
        end
        set allow-routing [enable|disable]
    next
end

config firewall addrgrp

Parameter

Description

Type

Size

comment

Comment.

var-string

Maximum length: 255

visibility

Enable/disable address visibility in the GUI.

option

-

Option

Description

enable

Show in address group selection.

disable

Hide from address group selection.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

allow-routing

Enable/disable use of this group in the static route configuration.

option

-

Option

Description

enable

Enable use of this group in the static route configuration.

disable

Disable use of this group in the static route configuration.