Types of SRC Commands and Statements

The SRC CLI supports the following types of commands and statements:

Command Options

When working on the command line, you are bound by specific CLI syntax rules. Some commands function very simply with just a single word necessary to run them. Others have required options that you must enter to complete the command. Some commands may have options that are not required, allowing you to change the way the commands run or the information they return.

The command and statement summaries in the SRC PE CLI Command Reference show which options are required and which options are not. Options at the top statement level that are not required are shown with angle brackets (<>). (See Figure 8.) Dots after an option indicate that more than one value can be supplied for the option.

Figure 8: Command Options

Command Options

Configuration Statements and Identifiers

You configure SRC properties by including statements in the configuration. A statement consists of a keyword, which is fixed text, and, optionally, an identifier. An identifier is an identifying name that you define, such as the name of an interface or a username, and that allows you and the CLI to discriminate among a collection of statements.

The following list shows the statements available at the top level of configuration mode:

user@host# set ?
Possible completions:
> interfaces           Interfaces on the C Series Controller
> policies             Policy configuration
> redirect-server      Redirect server properties
> routing-options      Protocol-independent routing option configuration
> services             Service configuration
> shared               Shared component information
> slot                 Component configuration
> snmp                 SNMP agent
> subscribers          Subscriber and subscription configuration
> system               System configuration

An angle bracket ( > ) before the statement name indicates that it is a container statement and that you can set values for other statements at levels below it.

The following list shows the statements available at the [edit system ntp] level of configuration mode. This level includes output that shows:

Listings can also include:

When you type a statement, enclose in quotation marks (double quotes) identifiers and any strings that include the following characters: space tab ( ) [ ] { } ! @ # $ % ^ & | ’ = ? 

Privilege Levels for Using Commands and Statements

Each CLI command and each configuration statement has an access privilege level associated with it. Users can execute only those commands and configure and view only those statements for which they have access privileges.

For example, users with configure permissions can use the configure command to enter configuration mode, and users with network permissions can access the network by using the telnet and ssh commands. The root login account has superuser privileges—with access to all commands and statements.

Note: Although root has superuser privileges, the editing level for root is set to normal.

For information about the editing level, see Commands to Control the SRC CLI Environment Overview.

Required privilege levels are listed in command and statement summaries.

Related Documentation