
Working in the CLI
For example, if sv01 exists and the current context is “sv-sv01”, then the following commands are queued until a
commit, exit, or <ctrl-d> command is entered:
eqcli > server sv01
eqcli sv-sv01> ip 192.168.0.211
eqcli sv-sv01> port 8080
eqcli sv-sv01> commit
Queued commands can be committed or discarded using the following commands:
l commit - Commits all queued commands; does not change the current context.
l exit <ctrl-d> - Commits all queued commands and changes to the next highest context in the hierarchy (if
executed in the global context, either of these commands exits eqcli).
l discard -Discards all queued commands; does not change the current context.
l quit -Discards all queued commands and changes to the next highest context in the hierarchy (if executed
in the global context, this command exits eqcli).
Note that the following commands always take effect immediately and do not change the current command
context:
l A command that sets a global parameter (see "Global Commands" on page 141).
l The no form of a command (see"Using the no Form of a Command" on page 136).
l The show command in any context.
Context Help
You can type <?> in a number of situations to display context help:
l If you type <?> at the CLI prompt, a list of commands that are valid in the current context is displayed. For
example, this command displays help for all global commands as shown in "Global Commands" on page
141:
eqcli >?
Entering the following two commands displays help for all the commands available in the cluster cl01 specific
context, as shown in "Cluster and Match Rule Commands" on page 146.
eqcli > cluster cl01
eqcli cl-cl01>?
138
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Comentarios a estos manuales