Description |
This article describes how to grant read-only admins with diagnose commands so that it is possible to perform basic diagnostics. |
||||||||
Scope |
FortiGate v6.4.0 or above. |
||||||||
Solution |
config system accprofile edit read-only set system-diagnostics enable end
config system admin edit readonly set accprofile read-only set vdom root set password xxxx end
FortiCarrier-3200D $ get <----- Get dynamic and system information. show <----- Show configuration. execute <----- Execute static commands. alias <----- Execute alias commands. exit <----- Exit the CLI.
FortiCarrier-3200D $ get <----- Get dynamic and system information. show <----- Show configuration. diagnose <----- Diagnose facility. ß Diagnose command is available for read only admin. execute <----- Execute static commands. alias <----- Execute alias commands. exit <----- Exit the CLI.
config system accprofile
Related document: CLI system permissions Note: Certain diagnostic commands will need Read/Write permissions on the admin profile as they will not function with Read-Only permissions and the "system-diagnostic" or 'cli-diagnose' settings enabled on the Admin Profile.
A few examples of specific diagnostic commands can be seen below:
|