2
Management
17
Frequently used commands
The
following
commands
will
probably
be
the
most
often
used
with
the
CLI
to
manipulate
different
SEG
objects:
•
add
:
Adds
an
object,
such
as
an
IP
address
or
a
rule,
to
a
SEG
configuration
along
with
a
set
of
required
properties
for
the
object.
•
set
:
Sets
one
or
more
configuration
object
properties
to
given
values.
For
example,
setting
the
source
interface
for
a
given
IP
rule.
•
show
:
Displays
the
current
values
of
a
particular
object
or
set
of
configuration
objects.
•
delete
:
Deletes
a
specific
configuration
object.
CLI command structure
CLI
commands
commonly
have
the
structure:
<command>
<object_category>
<object_type>
<object_name>
For
example,
to
display
an
IP
address
object
called
my_address
,
enter:
Device:/>
show
Address
IPAddress
my_address
The
object
category
in
this
case
is
Address
and
the
type
within
this
category
is
IPAddress
.
If
the
object
type
is
unique,
its
category
can
be
omitted.
The
same
example
as
above
could
be
shortened
to:
Device:>
show
IPAddress
my_address
In
this
case,
the
object
category
Address
is
omitted
since
IPAddress
is
a
unique
object
type.
Note:
Tab
completion
will
not
work
until
the
entire
object
type
is
entered
when
omitting
the
object
category.
The
same
object
name
could
be
used
within
two
different
categories
or
types,
although
this
is
best
avoided
in
order
to
avoid
ambiguity
when
reading
configurations.
Note:
The
term
category
is
also
sometimes
referred
to
as
the
context
of
an
object.
A
command
such
as
add
can
also
include
object
properties
.
To
add
a
new
IPAddress
object
with
an
IPv4
address
of
10.49.02.01
,
the
command
would
be:
Device:/>
add
Address
IPAddress
my_address
Address=10.49.02.01