Getting started

This guide contains command descriptions for the classic SR OS CLI commands that are used to manage the SR OS.

See the 7250 IXR, 7450 ESS, 7705 SAR Gen 2, 7750 SR, 7950 XRS, and VSR Acronyms Reference Guide for expansions of acronyms used in this guide.

In this guide, the term CLI refers to the classic CLI unless otherwise specified.

This guide does not include clear, monitor, show, or tools commands. These commands are documented in the 7705 SAR Gen 2 Clear, Monitor, Show, Tools CLI Command Reference Guide.

Note: This guide generically covers Release 25.x.Rx content and may contain some content that will be released in later maintenance loads. See the SR OS R25.x.Rx Software Release Notes, part number 3HE 21562 000x TQZZA, for information about features supported in each load of the Release 25.x.Rx software. For a list of features and CLI commands that are present in SR OS but not supported on the 7705 SAR Gen 2 platforms, see "SR OS Features not Supported on SAR Gen 2" in the SR OS R25.x.Rx Software Release Notes.

The full set of CLI commands supported by the SR OS is documented in three related guides that are listed in the following table.

Table 1. Documentation for SR OS CLI commands
Guide title Classic CLI commands MD-CLI commands
7705 SAR Gen 2 Clear, Monitor, Show, Tools CLI Command Reference Guide

All clear, monitor, show, and tools commands

All clear, monitor, show, and tools commands

7705 SAR Gen 2 Classic CLI Command Reference Guide

All other commands

7705 SAR Gen 2 MD-CLI Command Reference Guide

All other commands

Platforms and terminology

Note:

Unless explicitly noted otherwise, this guide uses the terminology defined in the following table to collectively designate the specified platforms.

Table 2. Platforms and terminology
Platform Collective platform designation
7705 SAR-1 7705 SAR Gen 2

Command tree

The SR OS CLI command tree is a hierarchical inverted tree. The highest level is the root level. Below this level are other tree levels with the major command groups; for example, configuration commands and admin commands are levels below root.

In the tree, you can click a command to link directly to the command description.

Note: Commands that are listed in the tree but are not linked to an associated description are available on one or more platforms but are not currently described in the guide.

Command descriptions

Command descriptions are listed in alphabetical order by command name.

The following figure shows an example of a command description.

Figure 1. Command description example

The following table describes the fields that may be shown for a command. Not all fields are applicable for all commands.

Table 3. Command description fields
Field Description

Command Name

Name of the command

Syntax

Command syntax required to execute the command. See Command syntax symbols for information about syntax symbols.

Context

Path to the command as it is displayed in the CLI prompt.

Clicking on [Tree] links to the command in the CLI tree.

Full Context

Complete contextual path to perform the command

Description

Description of the command functionality and any restrictions

Default

Command default value

Parameters

Descriptions of command parameters

Values

Values allowed for the parameter

Default

Parameter default value

Platforms

Hardware platforms on which the command is available. See Platforms and terminology for more information about the platforms.

Note: Some SR OS features are platform-specific and therefore may not be available or visible on all platforms. See the SR OS R25.x.Rx Software Release Notes, part number 3HE 21562 000x TQZZA, for information about platform support.

Note: All options for enumerated types and numerical ranges are listed in the command descriptions; however, not all options or ranges are valid on all platforms.

Navigational aids

The following aids help you navigate the guide and find specific commands.

Context path

In the CLI tree section, the complete contextual path to the first command on the page is displayed at the top of the page, as shown in the following figure.

Figure 2. Command tree navigation

Search tips

Use the following search tips to easily find information about a specific command using a search function:

  • Enter the command name in the search input field.
  • To optimize your search, specify one or more levels of the contextual path before the command name.
    Note: The Full Context section in each command description shows the full path to the command, as described in Command descriptions.
  • Do not include variables in the search phrase.

For example, to search for the configure router mpls lsp igp-shortcut command, entering "lsp igp-shortcut" is more efficient than "igp-shortcut" and limits the number of search results. Using "lsp <lsp-name> igp-shortcut" does not return any results.

Caution: Using a combination of hyphenated terms with other terms within the same quoted search phrase (for example, searching for "cert-profile entry send-chain") may produce inaccurate search results in WebHelp

Linking to the tree

Clicking on [Tree] in a command description context links directly to the command in the CLI tree. The following figure shows the [Tree] element.

Figure 3. Link to CLI tree