MD-CLI Explorer

The MD-CLI Explorer allows users to browse through model-driven (MD) CLI commands for the 7250 IXR,7450 ESS, 7750 SR, 7950 XRS, and VSR and access detailed information for each one.

This tool covers commands for the specified release. Refer to the applicable SR OS Release Notes for information about features supported in each load of the release software.

Table view

Use View → Table view to browse commands in a sortable table. The following options apply only in the table view.

Column display

To select the columns you want to display, click on the funnel icon ( ) or the arrow next to it, then choose the desired columns.

Searching the table

To filter the information in a column, enter text in the field at the top of the column and press Enter. You can filter in multiple columns.

The global Show and Hide filters show or hide entries with the specified text across all columns.

Click the Expand control on a row to open a detail panel with the same information shown in the tree view.

Clearing filters

Click Clear filters to reset all filters to their default settings and close all record details.

Clicking Clear filters does not clear any filtering done on the columns. You must manually deselect columns or select all columns (Select all) and then deselect all columns to reset the column display to the default.

Exporting data

Click Download CSV to export the filtered information to a CSV file.

Tree view

Use View → Tree view to browse the command hierarchy. Table column filters and Show/Hide filters do not apply in the tree view.

Browsing the tree

The tree is organized under top-level folders such as Operational commands, Configuration mode commands, and Configuration commands. Click the + control beside a folder or branch to expand it; click again to collapse. Click a command in the tree to select it.

Tree icons

Each command in the tree is shown with an icon that indicates its YANG node type. When the Key column is Y, a leaf is shown with the list key icon instead of the ordinary leaf icon. If the Deprecated column has a value for that command, the same icon shape is shown in orange instead of gray.

The following table shows the icons used in the tree view.

Element Current Deprecated
Container — groups child commands Container Deprecated container
List — repeatable list of entries List Deprecated list
Leaf — single-valued command Leaf Deprecated leaf
Leaf (list key) — key leaf that identifies a list entry Leaf (list key) Deprecated leaf (list key)
Leaf list — command with multiple values of the same type Leaf list Deprecated leaf-list
Action — invokable operation Action Deprecated action

Searching the tree

Use the Show field above the tree to filter which commands appear. This filter is separate from the table column filters and the global Show/Hide fields on the table screen.

Matching uses the same rows as the table: the text you enter is compared against the combined content of all columns for each row (HTML in cells is ignored for matching). Only rows that match are used to build the tree.

Viewing details

Select a command in the tree to view its details in the pane on the right—the same information as the table Expand window.

Column and Expand window descriptions

The following table describes fields shown in table columns, the Expand window, and the tree detail pane.

Column Description
Root context Root of the full path of the command
Context Path to the branch or leaf without input types
Subroot context Element one level below the root
Synopsis Summary description of the element
Description Detailed description of the element, as needed
Value input Identifies type of input
Default YANG default value when there is no MD-CLI default. Platform-specific defaults are not displayed.
MD-CLI default MD-CLI default value for the element
Type Types include (but are not limited to):
  • Boolean (true and false values)
  • keyword (enumerated values)
  • string
  • number
  • IPv4 address
  • IPv6 address
  • MAC address
Key Indicates whether the element is a key
Presence container Indicates whether the container is a presence container
String length For string elements, the range of the number of characters allowed
String format For string elements, the format of the characters in the string
Range For number elements, the range of allowed values. A maximum range may be overridden by a platform-specific range.
Units Base unit type of the element
Options Enumerated values allowed for the element. Not all options are available on all platforms.
Reference Reference to an element instance in the configuration or state datastore
Minimum instances For lists and leaf-lists, the minimum number of instances for this element
Maximum instances For lists and leaf-lists, the maximum number of instances for this element
Ordered by Indicates whether the element is ordered by the user (instead of by the system)
Choice Indicates whether the element is part of a choice
Mandatory Indicates whether the element is mandatory or part of a mandatory choice
Notes Indicates special attributes of the command, including:
  • Command keyword is optional, such as for first key elements
  • Warnings and notes related to the operation of the command
  • Key for an element
  • Mandatory
  • Part of a choice of elements
  • Ordered by the user (instead of by the system)
Introduced Release in which the element was introduced in 7450 ESS, 7750 SR, 7950 XRS, and VSR platforms
Deprecated Release in which the element was deprecated
Platforms Hardware platforms on which the element is available



Known issues with the tool