Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > Junos OS CLI, Release 11.2
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

Junos OS CLI, Release 11.2

The Junos OS command-line interface (CLI) is a Juniper Networks-specific command shell that runs on top of a FreeBSD UNIX-based operating system kernel. By leveraging industry-standard tools and utilities, the CLI provides a powerful set of commands that you can use to monitor and configure devices running Junos OS. This page contains information about the Junos OS CLI from the Junos® OS CLI User Guide.

        

Junos OS Documentation Home

  • Overview
  • Configuration
  • Administration
  • Troubleshooting
CLI Overview

Introducing the Junos OS Command-Line Interface

Understanding the Junos OS CLI Modes, Commands, and Statement Hierarchies

Other Tools to Configure and Monitor Devices Running Junos OS

Commands and Configuration Statements for Junos-FIPS

CLI Online Help Overview

Getting Online Help from the Junos OS Command-Line Interface

Junos OS CLI Online Help Features

CLI Operational Mode Overview

Overview of Junos OS CLI Operational Mode Commands

Junos OS Operational Mode Commands That Combine Other Commands

Understanding the Brief, Detail, Extensive, and Terse Options of Junos OS Operational Commands

Controlling the Scope of an Operational Mode Command

Using the Pipe ( | ) Symbol to Filter Junos Command Output

Using Regular Expressions with the Pipe ( | ) Symbol to Filter Junos Command Output

Pipe ( | ) Filter Functions in the Junos OS command-line interface

CLI Configuration Mode Overview

Understanding Junos OS CLI Configuration Mode

Modifying the Junos OS Configuration

Commit Operation When Multiple Users Configure the Software

Forms of the configure Command

Additional Details About Specifying Junos Statements and Identifiers

CLI Advanced Features Overview

Using Keyboard Sequences to Move Around and Edit the Junos OS CLI

Using Wildcard Characters in Interface Names

Using Global Replace in a Junos Configuration

CLI Commit Operations Overview

Junos OS Commit Model for Router or Switch Configuration

Commit Operation When Multiple Users Configure the Software

Configuration Groups Overview

Understanding the Junos Configuration Groups

Configuration Management Overview

Understanding How the Junos Configuration Is Stored

Getting Started with Junos OS Configuration

Entering and Exiting the Junos OS CLI Configuration Mode

Displaying the Current Junos OS Configuration

Example: Displaying the Current Junos Configuration

Displaying set Commands from the Junos OS Configuration

Displaying Users Currently Editing the Configuration

Displaying Additional Information About the Configuration

Using the configure exclusive Command

Updating the configure private Configuration

Getting Started with the Junos OS Command-Line Interface

Switching Between Junos OS CLI Operational and Configuration Modes

Configuring a User Account on a Device Running Junos OS

Updating the Junos OS Configuration

Adding Junos Configuration Statements and Identifiers

Deleting a Statement from a Junos Configuration

Example: Deleting a Statement from the Junos Configuration

Copying a Junos Statement in the Configuration

Example: Copying a Statement in the Junos Configuration

Issuing Relative Junos Configuration Mode Commands

Renaming an Identifier in a Junos Configuration

Example: Renaming an Identifier in a Junos Configuration

Inserting a New Identifier in a Junos Configuration

Example: Inserting a New Identifier in a Junos Configuration

Deactivating and Reactivating Statements and Identifiers in a Junos Configuration

Examples: Deactivating and Reactivating Statements and Identifiers in a Junos Configuration

Adding Comments in a Junos Configuration

Example: Including Comments in a Junos Configuration

Using Regular Expressions to Delete Related Items from a Junos Configuration

Committing a Junos OS Configuration

Verifying a Junos Configuration

Protecting the Junos OS Configuration from Modification or Deletion

Committing a Junos OS Configuration

Committing a Junos Configuration and Exiting Configuration Mode

Activating a Junos Configuration but Requiring Confirmation

Scheduling a Junos Commit Operation

Monitoring the Junos Commit Process

Adding a Comment to Describe the Committed Configuration

Backing Up the Committed Configuration on the Alternate Boot Drive

Loading a Junos OS Configuration

Loading a Configuration from a File

Examples: Loading a Configuration from a File

Synchronizing the Junos OS Configuration

Synchronizing Routing Engines

Creating and Applying Junos OS Configuration Groups

Creating a Junos Configuration Group

Applying a Junos Configuration Group

Example: Configuring and Applying Junos Configuration Groups

Example: Creating and Applying Configuration Groups on a TX Matrix Router

Disabling Inheritance of a Junos OS Configuration Group

Using Wildcards with Configuration Groups

Example : Configuring Sets of Statements with Configuration Groups

Example: Configuring Interfaces Using Junos OS Configuration Groups

Example: Configuring a Consistent IP Address for the Management Interface

Example: Configuring Peer Entities

Establishing Regional Configurations

Selecting Wildcard Names

Using Junos OS Defaults Groups

Example: Referencing the Preset Statement From the Junos defaults Group

Example: Viewing Default Statements That Have Been Applied to the Configuration

CLI Online Help

Examples: Using Command Completion in Configuration Mode

Examples: Using the Junos OS CLI Command Completion

Displaying the Junos OS CLI Command and Word History

CLI Operational Mode

Interface Naming Conventions Used in the Junos OS Operational Commands

CLI Configuration Mode

Example: Using the configure Command

Controlling the CLI Environment

Example: Controlling the CLI Environment

CLI Advanced Features

Example: Using Global Replace in a Junos Configuration—Using the \n Back Reference

Example: Using Global Replace in a Junos Configuration—Replacing an Interface Name

Example: Using Global Replace in a Junos Configuration—Using the upto Option

Configuration Statements and Commands

apply-groups

apply-groups-except

groups

activate

annotate

commit

copy

deactivate

delete

edit

exit

help

insert

load

quit

rename

rename

replace

rollback

run

save

set

show

show configuration

show | display inheritance

show | display omit

show | display set

show | display set relative

show groups junos-defaults

status

top

up

update

wildcard delete

Routine Monitoring

Checking the Status of a Device Running Junos OS

Example: Configuring a Routing Protocol

Monitoring Who Uses the Junos OS CLI

Viewing Files and Directories on a Device Running Junos OS

Displaying Junos OS Information

Managing Programs and Processes Using Junos OS Operational Mode Commands

Using the Junos OS CLI Comment Character # for Operational Mode Commands

Example: Using Comments in Junos OS Operational Mode Commands

Managing the CLI Environment

Controlling the Junos OS CLI Environment

Overview of Junos OS CLI Operational Mode Commands

Setting the Junos OS CLI Screen Length and Width

CLI Advanced Features Reference

Common Regular Expressions to Use with the replace Command

Junos OS CLI Environment Commands

set cli complete-on-space

set cli directory

set cli idle-timeout

set cli prompt

set cli restart-on-upgrade

set cli screen-length

set cli screen-width

set cli terminal

set cli timestamp

set date

show cli

show cli authorization

show cli directory

show cli history

Junos OS CLI Operational Mode Commands

configure

file

help

| (pipe)

request

restart

set

Troubleshooting Procedures

Returning to the Most Recently Committed Junos Configuration

Returning to a Previously Committed Junos OS Configuration

Rolling Back Junos OS Configuration Changes

Knowledge Base

http://kb.juniper.net/

 

Downloads

  • Complete CLI User Guide, Junos OS PDF Document
 
 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out