Nokia 7450, 7750, 7950 Quick Start Guide

7450 ETHERNET SERVICE SWITCH
7750 SERVICE ROUTER
7950 EXTENSIBLE ROUTING SYSTEM
VIRTUALIZED SERVICE ROUTER
MD-CLI QUICK REFERENCE GUIDE
3HE 15218 0003 TQZZA 01 Issue 01
February 2021
Use subject to Terms available at: www.nokia.com.
Nokia is committed to diversity and inclusion. We are continuously reviewing our customer documentation and consulting with standards bodies to ensure that terminology is inclusive and aligned with the industry. Our future customer documentation will be updated accordingly.
This document includes Nokia proprietary and confidential information, which may not be distributed or disclosed to any third parties without the prior written consent of Nokia.
This document is intended for use by Nokia’s customers (“You”/”Your”) in connection with a product purchased or licensed from any company within Nokia Group of Companies. You agree to notify Nokia of any errors you may find in this document; however, should you elect to use this document for any purpose(s) for which it is not intended, You understand and warrant that any determinations You may make or actions You may take will be based upon Your independent judgment and analysis of the content of this document.
Nokia reserves the right to make changes to this document without notice.
No part of this document may be copied, reproduced, modified or transmitted.
NO WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF AVAILABILITY, ACCURACY, RELIABILITY, TITLE, NON­INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, IS MADE IN RELATION TO THE CONTENT OF THIS DOCUMENT. IN NO EVENT WILL NOKIA BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL OR ANY LOSSES, SUCH AS BUT NOT LIMITED TO LOSS OF PROFIT, REVENUE, BUSINESS INTERRUPTION, BUSINESS OPPORTUNITY OR DATA THAT MAY ARISE FROM THE USE OF THIS DOCUMENT OR THE INFORMATION IN IT, EVEN IN THE CASE OF ERRORS IN OR OMISSIONS FROM THIS DOCUMENT OR ITS CONTENT.
Copyright and trademark: Nokia is a registered trademark of Nokia Corporation. Other product names mentioned in this document may be trademarks of their respective owners.
© 2021 Nokia.
MD-CLI QUICK REFERENCE GUIDE Table of Contents

Table of Contents

3HE 15218 0003 TQZZA 01
Use subject to Terms available at: www.nokia.com.
3
1 MD-CLI Overview....................................................................................................................................... 4
1.1 Enabling the SR OS MD-CLI..............................................................................................................4
1.2 Disabling the SR OS MD-CLI.............................................................................................................5
2 Navigational and Operational Commands..............................................................................................6
3 Entering and Leaving the Configuration Workflow............................................................................... 7
4 Configuration Workflow Commands....................................................................................................... 8
4.1 Commit Confirmed Commands.......................................................................................................... 9
4.2 Configuration Management Commands........................................................................................... 10
5 Output Modifiers......................................................................................................................................12
MD-CLI QUICK REFERENCE GUIDE MD-CLI Overview

1 MD-CLI Overview

3HE 15218 0003 TQZZA 01
Use subject to Terms available at: www.nokia.com.
4
This guide provides a comparison of the Nokia SR OS Model-Driven Command Line Interface (MD-CLI) to those used by Junos OS and IOS XR.
For more information about the MD-CLI, see the following resources:
SR OS Release Notes for your current release
7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide
7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI Command Reference Guide
MD-CLI introductory videos: https://www.youtube.com/playlist?
list=PLgKNvl454BxcgfUQGMAEGE4yiV8c-ZDLu
Table 1: Command Syntax Symbols describes command syntax symbols used in this guide.
Table 1: Command Syntax Symbols
Symbol Description
| A vertical bar represents an OR, indicating that only one of the parameters in
the brackets or parentheses can be selected.
( ) Parentheses indicate that one of the parameters must be selected.
[ ] Brackets indicate optional parameters.
Bold Commands in bold indicate commands and keywords.
Italic Commands in italics indicate that you must enter text based on the parameter.
interface interface-name
In the following examples, location and graceful-shutdown are command names. For the location command, keyword must be one of the keywords cf1, cf2, or cf3. For the graceful-shutdown command, boolean must be one of the keywords true or false, although explicitly using the keyword true is optional.
location keyword
keyword - (cf1 | cf2 | cf3)
graceful-shutdown boolean
boolean - ([true] | false)
SPACER TEXT
MD-CLI QUICK REFERENCE GUIDE MD-CLI Overview
1.1 Enabling the SR OS MD-CLI
3HE 15218 0003 TQZZA 01
Use subject to Terms available at: www.nokia.com.
5
Perform the following procedure to enable the MD-CLI from the classic CLI.
1. Back up your configuration. Any existing configuration will be converted to the MD-CLI format.
2. Enable the MD-CLI and model-driven mode, using these commands in this order:
configure system management-interface cli md-cli auto-config-save configure system management-interface configuration-mode model-driven
3. Log out of the CLI.
4. Log back in to the CLI. The MD-CLI engine is now active.

1.2 Disabling the SR OS MD-CLI

Perform the following procedure to return to classic CLI mode while preserving the current router configuration.
1. Disable the MD-CLI and model-driven mode in the MD-CLI, using these commands in this order:
configure exclusive system management-interface configuration-mode classic commit
2. Log out of the CLI.
3. Log back in to the CLI. The classic CLI engine is now active.
SPACER TEXT
Loading...
+ 9 hidden pages