Table of Contents

About This Guide
Objectives
Audience
Documentation Conventions
Related Juniper Networks Documentation
Obtaining Documentation
Documentation Feedback
Requesting Support
Introducing the SRC CLI
Overview of the SRC CLI
Understanding SRC CLI Command Modes
Understanding SRC Command and Statement Hierarchies
SRC CLI Command Hierarchy
Configuration Statement Hierarchy
Key Features of the SRC CLI
Leveraging Industry-Standard Technologies
Getting Started: A Quick Tour of the SRC CLI
Before You Start the SRC CLI
Related Topics
Starting the SRC CLI
Starting the SRC CLI on a C-series Controller
Starting the SRC CLI on a Solaris Platform
Displaying Commands
Verifying System Status
Configuring a User Account
Creating a Configuration
Using Shortcuts to Create a Configuration
Making Changes to the Configuration
Rolling Back Configuration Changes
SRC CLI Basics
Elements of the Command-Line Interface
SRC CLI Messages
Displaying Command Output
Types of SRC Commands and Statements
Command Options
Configuration Statements and Identifiers
Privilege Levels for Using Commands and Statements
Switching Between Operational Mode and Configuration Mode
Switching to Configuration Mode
Returning to Operational Mode
Running Operational Mode Commands from Configuration Mode
Moving Among Hierarchy Levels in the SRC CLI
Displaying SRC CLI Command History
CLI Support for C-series Controllers and for SRC Software Installed on Solaris Platforms
Getting Online Help for the SRC CLI
Getting Help for Commands and Statements for the SRC CLI
Getting Help for Omitted Statements
Using SRC CLI Command Completion
Examples: Using CLI Command Completion
Using Command Completion in Configuration Mode
Examples: Using Command Completion in Configuration Mode
Using the SRC CLI Operational Commands to Monitor the SRC Software
SRC CLI Command Categories
Commonly Used Operational Mode Commands
Viewing Files and Directories
Directories on the C-series Controller
Listing Files and Directories
Specifying Filenames and URLs
Managing SRC Components
Viewing C-series Controller Information
Restarting an SRC Component
Stopping the SRC Software
Rebooting the SRC Software
Viewing Information about Users Logged Into the SRC Software
Using Commands and Statements to Configure the SRC Software
Understanding SRC CLI Configuration Mode
Configuration Mode Commands
Configuration Statements
Configuration Statement Hierarchy
Entering and Exiting Configuration Mode in the SRC CLI
Entering Configuration Mode
Exiting from Configuration Mode
Modifying the Configuration
Entering Values for Statement Options
Displaying the Current Configuration
Examples: Displaying the Current Configuration
Adding Configuration Statements and Identifiers
Deleting a Statement from the Configuration
Examples: Deleting a Statement from the Configuration
Renaming an Identifier
Example: Renaming an Identifier
Inserting a New Identifier
Examples: Inserting a New Identifier
Verifying a Configuration
Committing a Configuration
Committing a Configuration and Exiting Configuration Mode
When Multiple Users Configure the Software
Filtering Command Output in the SRC CLI
Using Keyboard Sequences at the MORE Prompt in the SRC CLI
Using the Pipe ( | ) Symbol When Entering Commands
Using Regular Expressions with the Pipe Symbol
Related Topics
Pipe Filter Functions
Counting the Number of Lines of Output
Displaying Output in XML Tag Format
Disregarding Output That Does Not Match a Regular Expression
Displaying Output from the First Match of a Regular Expression
Displaying the End of the Output for a Command
Displaying Output That Matches a Regular Expression
Preventing Output from Being Paginated
Saving Output to a File
Using Keyboard Shortcuts in the SRC CLI
Controlling the SRC CLI Environment
Overview of Commands to Control the SRC CLI Environment
Setting the Editing Level for the SRC CLI
Setting the Terminal Type for the SRC CLI
Setting the Language for the Terminal Environment for the SRC CLI
Setting the Screen Length for the SRC CLI
Setting the Screen Width for the SRC CLI
Changing the Password for the SRC CLI
Setting the SRC CLI Prompt
Setting the Directory for the SRC CLI
Setting Command Completion for the SRC CLI
Viewing Settings for the SRC CLI
Managing SRC Configurations
How the SRC Configuration Is Stored
Updating the SRC Configuration
Before You Load a Configuration
Commands to Load a Configuration
Attributes in SRC Configuration Files
About SRC Configuration Files in XML Format
Example: Using Attributes When Editing an XML Configuration File
About SRC Configuration Files in Text Format
Example: Using Attributes When Editing a Text Configuration File
Preparing a File to Be Loaded into the Current SRC Configuration
Related Topics
Loading an SRC Configuration
Replacing the Current Configuration with the Default SRC Configuration
Merging the Active Configuration with Another Configuration
Replacing the Configuration
Replacing Parts of the Configuration
Adding a Configuration Through Configuration Mode Commands
Loading a Configuration at a Specified Hierarchy Level
Reverting to a Previous SRC Configuration
Cutting and Pasting Configuration Information at the SRC CLI
Managing SRC Components with the CLI
Verifying Status of SRC Components
Enabling SRC Components
Disabling an SRC Component
Restarting an SRC Component
Index