Fortinet black logo

CLI Reference

show

show

The show commands display a part of your Fortinet unit’s configuration in the form of commands that are required to achieve that configuration from the firmware’s default state.

Although not explicitly shown in this section, for all config commands, there are related show commands that display that part of the configuration.The show commands use the same syntax as their related config command.

Commands and variables are case sensitive.

Unlike the get command, show does not display settings that are assumed to remain in their default state.

The following examples show the difference between the output of the show command branch and the get command branch.

Example show command

show system dns

config system dns

set primary 208.91.112.53

set secondary 208.91.112.63

end

Example get command

get system dns

primary : 208.91.112.53

secondary : 208.91.112.63

show

The show commands display a part of your Fortinet unit’s configuration in the form of commands that are required to achieve that configuration from the firmware’s default state.

Although not explicitly shown in this section, for all config commands, there are related show commands that display that part of the configuration.The show commands use the same syntax as their related config command.

Commands and variables are case sensitive.

Unlike the get command, show does not display settings that are assumed to remain in their default state.

The following examples show the difference between the output of the show command branch and the get command branch.

Example show command

show system dns

config system dns

set primary 208.91.112.53

set secondary 208.91.112.63

end

Example get command

get system dns

primary : 208.91.112.53

secondary : 208.91.112.63