Working in the CLI
Working in the CLI
The Equalizer command line interface, or CLI, was developed to be an easy to use, intuitive, and
flexible command line interface. It was patterned after CLIs used in other common networking
equipment, so if you’ve used a CLI on another network device (such as a router), you should
quickly feel comfortable using eqcli.
The CLI provides a number of features that are designed to make working at the command line
easier and more effective, as described in this section.
CLI Contexts and Objects
The Equalizer CLI is a context oriented command interface. This means that the commands
available at any time (and the objects they affect) depend on the current context. The current
command context is always indicated in the CLI prompt. When you start the CLI, the command
prompt looks like this:
eqcli >
This indicates that you are in the global context -- all commands available in the CLI for all objects
can be executed from this context, and you can also set parameters for global services (such as
NTP, DNS, etc.). You can also change to other contexts, whose scope is limited to a specific
object. For example, you can enter the cluster specific context for a cluster named
cl01
by typing:
eqcli >
cluster cl01
eqcli cl-cl01>
The prompt above indicates that the cluster specific context for
cl01
is the current context. In this
context, the only commands available are those that affect cluster
cl01
.
Note that only the first 4 characters of an object name appear in the eqcli prompt. For example, if
you have a cluster named
mycluster
, then you would enter the cluster specific context for this
cluster by typing:
eqcli >
cluster
mycluster
eqcli cl-myc*>
144
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......