Nokia 7450 Quick Start Guide

7450 ETHERNET SERVICE SWITCH

7750 SERVICE ROUTER

7950 EXTENSIBLE ROUTING SYSTEM VIRTUALIZED SERVICE ROUTER

MD-CLI QUICK REFERENCE GUIDE

3HE 15218 0002 TQZZA 01

Issue 01

October 2020

Nokia — Proprietary and con dential.

Use pursuant to applicable agreements.

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.

Nokia is a registered trademark of Nokia Corporation. Other products and company names mentioned herein may be trademarks or tradenames of their respective owners.

The information presented is subject to change without notice. No responsibility is assumed for inaccuracies contained herein.

Contains proprietary/trade secret information which is the property of Nokia and must not be made available to, or copied or used by anyone outside Nokia without its written authorization.

© 2020 Nokia.

MD-CLI QUICK REFERENCE GUIDE Contents

Contents

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

3

MD-CLI QUICK REFERENCE GUIDE

MD-CLI Overview

 

 

1 MD-CLI Overview

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

MD-CLI User Guide

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.

 

 

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)

3HE 15218 0002 TQZZA 01

Nokia — Proprietary and confidential.

4

Use pursuant to applicable agreements.

Nokia 7450 Quick Start Guide

MD-CLI QUICK REFERENCE GUIDE

MD-CLI Overview

1.1 Enabling the SR OS MD-CLI

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.2Disabling 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.

3HE 15218 0002 TQZZA 01

Nokia — Proprietary and confidential.

5

Use pursuant to applicable agreements.

Loading...
+ 9 hidden pages