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
Содержание Equalizer GX Series
Страница 18: ......
Страница 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 42: ......
Страница 52: ......
Страница 64: ......
Страница 72: ......
Страница 76: ......
Страница 123: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 123 Equalizer Administration Guide ...
Страница 228: ......
Страница 238: ......
Страница 411: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 411 Equalizer Administration Guide ...
Страница 459: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 459 Equalizer Administration Guide ...
Страница 476: ......
Страница 492: ......
Страница 530: ......
Страница 614: ......
Страница 626: ......
Страница 638: ......
Страница 678: ......
Страница 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 754: ......
Страница 790: ......
Страница 804: ......
Страница 842: ......
Страница 847: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 847 Equalizer Administration Guide ...
Страница 866: ......