4. Configuration Workflow Commands

Table 4 compares the configuration workflow commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.

Table 4:  Configuration Workflow Commands 

SR OS MD-CLI

Junos OS

IOS XR

Navigate into a context

Enter the context by typing context

For example: router bgp

edit context

For example: edit protocols bgp

Enter the context by typing context

For example: router bgp 65551

Set an element in the candidate datastore

Enter the context with a value by typing context value

set context value

Enter the context with a value by typing context value

Delete an element from the candidate datastore

delete context

delete context

no context

Show the candidate configuration from the present working context

info

show

show configuration merge

Show the candidate configuration with default and unconfigured values

info detail

show | display detail

N/A

Show the candidate configuration with inherited values from configuration groups

info inheritance

show | display inheritance

show configuration running inheritance

Show the intended configuration with configuration groups expanded without groups and apply-groups statements

info intended

N/A

N/A

Show the candidate configuration in a flat format

info flat

info full-context

show | display set relative

show | display set

show configuration merge formal

Show the candidate configuration in JSON format

info json

show | display json

N/A

Show the candidate configuration in XML format

info xml

show | display xml

N/A

Show changes between datastores

compare

show | compare

show commit changes diff

Discard changes in the candidate datastore

discard

rollback

rollback 0

abort

Update the candidate baseline

update

update

N/A

Validate changes in the candidate datastore

validate

commit check

N/A

Commit changes to the running datastore

commit

(also runs validate)

commit

(also runs check)

commit

Roll back to a previous configuration

rollback checkpoint | startup

rollback checkpoint

rollback configuration to checkpoint

Run an operational command

/command

run command

do command

4.1. Commit Confirmed Commands

Table 5 compares the commit commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.

Table 5:  Commit Confirmed Commands 

SR OS MD-CLI

Junos OS

IOS XR

Start the commit confirmed

commit confirmed [number]

Default timeout: 10 minutes

commit confirmed [number]

Default timeout: 10 minutes

commit confirmed [number] | [minutes number]

Note: timeout is in seconds unless specified with minutes parameter

Accept a commit confirmed

commit confirmed accept

commit

commit

Cancel a commit confirmed

commit confirmed cancel

rollback 1 and

commit

Exit configuration mode or clear the CLI session

4.2. Configuration Management Commands

Table 6 compares the configuration management commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.

Table 6:  Configuration Management Commands 

SR OS MD-CLI

Junos OS

IOS XR

Paste configuration

Input is accepted in hierarchical, flat, full-context or compare format, opening ({) and closing (}) braces navigate

Input is accepted in display set format or using load merge terminal relative for hierarchical configuration

Input is accepted in formal format for hierarchical configuration

Load and merge a configuration file

load merge url

commit

load merge url

commit

load url

commit

Load and replace a configuration file

load full-replace url

commit

load override url

commit

load url

commit replace

Save configuration to a file

info > url

save url

copy running-config url

Show the startup configuration

admin show configuration

show configuration

show configuration persistent