Enabling and Disabling Flags
Most objects have a flags keyword that is followed by one or more keywords that enable and
disable particular object behavior. A single flag is specified as in this example:
eqcli>
srvpool sp01 si sv01 flags hot_spare
Multiple flags in a command line can be separated using either a comma (
,
) or a vertical bar (
|
)
between each flag. For example, all the following commands turn on the
hot_spare
and
quiesce
flags
on a server instance:
eqcli>
srvpool sp01 si sv01 flags hot_spare,quiesce
eqcli>
srvpool sp01 si sv01 flags “hot_spare, quiesce”
eqcli>
srvpool sp01 si sv01 flags hot_spare|quiesce
eqcli>
srvpool sp01 si sv01 flags “hot_spare | quiesce”
Flags are disabled using the negate operator (the exclamation point character):
!
Negates (turns off) the option that immediately follows it. No spaces are allowed between the
negation operator and the option that follows.
For example, the following command disables the hot_spare option and quiesce options:
eqcli>
srvpool sp01 si sv01 flags !hot_spare,!quiesce
A flag can be enabled and disabled in the object specific context or from any higher context. For
example, you can type any of the following three command sequences to disable the
spoof
option
on match rule
ma00
in cluster
cl00
:
eqcli >
cluster cl00 match ma00
eqcli cl-cl00-match-ma00>
flags !spoof
# match rule specific context
eqcli >
cluster cl00
eqcli cl-cl00>
match ma00 flags !spoof
# cluster context
eqcli >
cluster cl00 match ma00 flags !spoof
# global context
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
149
Equalizer Administration Guide
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: ......