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.
The search text is not case sensitive.
The search returns results that contain the words separated by spaces.
Text in double quotes is treated as a single match string.
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 | ||
| List — repeatable list of entries | ||
| Leaf — single-valued command | ||
| Leaf (list key) — key leaf that identifies a list entry | ||
| Leaf list — command with multiple values of the same type | ||
| Action — invokable operation |
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.
The filter text is not case sensitive.
Separate words with spaces. Every word must appear somewhere in that row’s combined text (order does not matter).
The tree filter does not treat text in double quotes as a single phrase; that behavior applies to searching in table view only.
After you stop typing, the tree updates after a short pause. Click Clear next to the field to remove the filter and show the full tree again.
When the filter is active, matching fragments in tree labels may be highlighted.
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):
|
| 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:
|
| 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
(Table view) Resizing the columns may lead to unexpected formatting issues. If this occurs, refresh the page to reset the column widths to their defaults.
(Table view) When sorting a column that contains numerical data, the resulting order may be nonsequential because the sorting algorithm organizes the entries based on lexicographical order rather than numerical value.
(Table view) Text in double quotes is treated as a single match string.