Fortinet white logo
Fortinet white logo

CLI Reference

user device

Configure devices.

  config user device
      Description: Configure devices.
      edit <alias>
          set mac {mac-address}
          set user {string}
          set master-device {string}
          set comment {var-string}
          set avatar {var-string}
          config tagging
              Description: Config object tagging.
              edit <name>
                  set category {string}
                  set tags <name1>, <name2>, ...
              next
          end
          set type {string}
          set category {string}
      next
  end

config user device

Parameter Name Description Type Size
mac Device MAC address. mac-address Not Specified
user User name. string Maximum length: 64
master-device Master device (optional). string Maximum length: 35
comment Comment. var-string Maximum length: 255
avatar Image file for avatar (maximum 4K base64 encoded). var-string Maximum length: 255
type Type. string Maximum length: 15
category Family. string Maximum length: 31

config tagging

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

user device

Configure devices.

  config user device
      Description: Configure devices.
      edit <alias>
          set mac {mac-address}
          set user {string}
          set master-device {string}
          set comment {var-string}
          set avatar {var-string}
          config tagging
              Description: Config object tagging.
              edit <name>
                  set category {string}
                  set tags <name1>, <name2>, ...
              next
          end
          set type {string}
          set category {string}
      next
  end

config user device

Parameter Name Description Type Size
mac Device MAC address. mac-address Not Specified
user User name. string Maximum length: 64
master-device Master device (optional). string Maximum length: 35
comment Comment. var-string Maximum length: 255
avatar Image file for avatar (maximum 4K base64 encoded). var-string Maximum length: 255
type Type. string Maximum length: 15
category Family. string Maximum length: 31

config tagging

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