Exercise 2
Exercise 2
This command displays basic status information about FortiGate. The output includes the
FortiGate serial number, operation mode, and so on. When the More prompt appears on
the CLI, perform one of the following actions:
Action Command
To exit Type q.
get ?
This command shows all options that the CLI will accept after the get command.
Depending on the command, you may need to enter additional words to completely specify
a configuration option.
6. Press the up arrow key.
7. Try some of the control key sequences shown in the following table:
Action Command
execute ?
This command lists all options that the CLI accepts after the execute command.
10. Press the space bar, and then press the Tab key three times.
Each time you press the Tab key, the CLI replaces the second word with the next possible
option for the execute command, in alphabetical order.
You can abbreviate most commands. In lessons and labs, many of the commands that
you see are in abbreviated form. For example, instead of typing execute, you can
type exe.
Use this technique to reduce the number of keystrokes that are required to enter a
command. Often, experts can configure FortiGate faster using the CLI than using the
GUI.
If there are other commands that start with the same characters, your abbreviation must
be long enough to be specific, so that FortiGate can distinguish them. Otherwise, the
CLI displays an error message about ambiguous commands.
11. On a new line, enter the following command to view the port3 interface
configuration (hint: try using the shortcuts you just learned about):
The show full-configuration command displays all the configuration settings for the interface.
The show command displays only those values that are different from the default values.
LAB-1 > Working With the CLI