Fortinet black logo

CLI Reference

firewall addrgrp

Configure IPv4 address groups.

  config firewall addrgrp
      Description: Configure IPv4 address groups.
      edit <name>
          set uuid {uuid}
          set member <name1>, <name2>, ...
          set comment {var-string}
          set exclude [enable|disable]
          set exclude-member <name1>, <name2>, ...
          set visibility [enable|disable]
          set color {integer}
          config tagging
              Description: Config object tagging.
              edit <name>
                  set category {string}
                  set tags <name1>, <name2>, ...
              next
          end
          set allow-routing [enable|disable]
      next
  end

config firewall addrgrp

Parameter Name Description Type Size
uuid Universally Unique Identifier (UUID; automatically assigned but can be manually reset). uuid Not Specified
member <name> Address objects contained within the group.
Address name.
string Maximum length: 79
comment Comment. var-string Maximum length: 255
exclude Enable/disable address exclusion.
enable: Enable address exclusion.
disable: Disable address exclusion.
option -
exclude-member <name> Address exclusion member.
Address name.
string Maximum length: 79
visibility Enable/disable address visibility in the GUI.
enable: Show in address group selection.
disable: Hide from address group selection.
option -
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.
enable: Enable use of this group in the static route configuration.
disable: Disable use of this group in the static route configuration.
option -

config tagging

Parameter Name Description Type Size
category Tag category. string Maximum length: 63
tags <name> Tags.
Tag name.
string Maximum length: 79

Configure IPv4 address groups.

  config firewall addrgrp
      Description: Configure IPv4 address groups.
      edit <name>
          set uuid {uuid}
          set member <name1>, <name2>, ...
          set comment {var-string}
          set exclude [enable|disable]
          set exclude-member <name1>, <name2>, ...
          set visibility [enable|disable]
          set color {integer}
          config tagging
              Description: Config object tagging.
              edit <name>
                  set category {string}
                  set tags <name1>, <name2>, ...
              next
          end
          set allow-routing [enable|disable]
      next
  end

config firewall addrgrp

Parameter Name Description Type Size
uuid Universally Unique Identifier (UUID; automatically assigned but can be manually reset). uuid Not Specified
member <name> Address objects contained within the group.
Address name.
string Maximum length: 79
comment Comment. var-string Maximum length: 255
exclude Enable/disable address exclusion.
enable: Enable address exclusion.
disable: Disable address exclusion.
option -
exclude-member <name> Address exclusion member.
Address name.
string Maximum length: 79
visibility Enable/disable address visibility in the GUI.
enable: Show in address group selection.
disable: Hide from address group selection.
option -
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.
enable: Enable use of this group in the static route configuration.
disable: Disable use of this group in the static route configuration.
option -

config tagging

Parameter Name Description Type Size
category Tag category. string Maximum length: 63
tags <name> Tags.
Tag name.
string Maximum length: 79