Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Entering Values for Statement Options

    When values include the following characters—space, single quotation marks (‘), double quotation marks (“), curly braces ({}), brackets ([ ]), or commas (,)—you must enclose the value in quotation marks (“ “) or use a backslash (\) before the character.

    In order to distinguish parameter names from literal string values, literal string values need to be enclosed in double quotation marks. To enter them in the SRC CLI, the double quotation marks must be escaped. The recommended way to do this in the SRC CLI is to enclose the literal string (with double quotation marks) within single quotation marks—for example, “abc” is entered in the SRC CLI as ‘“abc”’. Alternatively, you can enter the literal in double quotation marks within backslashes—for example, \“abc\”. If just abc is used, it is considered a parameter and the SRC policy engine searches for the value of that parameter.

    For convenience, where there is a fixed or well-known set of values for a parameter type, the SRC software provides a set of built-in global parameter definitions for each well-known value in the type. The SRC CLI generates completion lists for policy attributes of a given type from the set of global parameters defined for that type. You can also define your own global parameters to avoid the need to enter literal strings in quotations. For example, a global parameter abc=“abc” could be defined to make it convenient to enter the literal string “abc”.

    To enter words or letters separated by a space, such as a full name with a first name and last name, enclose the words in quotation marks. For example:

    "Chris Bee"

    To enter multiple values, separate values with a space, and enclose the values with brackets. For example:

    [192.0.2.24 192.0.4.25]

    To enter a number using a regular expression, use backslashes (\) to escape the brackets. For example:

    \[0-9\]

    Modified: 2014-06-10