Configuration workflow commands

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

Table 1. Configuration workflow commands

SR OS 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

Annotate an element in the candidate datastore with a comment

annotate "string" context

annotate context "string"

Enter ! followed by a string. The comment is associated with the next configuration element entered.

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

Show the candidate configuration with inherited values from configuration groups

info inheritance

show | display inheritance

show configuration running inheritance

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

info intended

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

show running-config | json

Show the candidate configuration in XML format

info xml

show | display xml

show running-config | xml

Show the running configuration

admin show configuration

show configuration

show running-config

Show changes between datastores

compare

show | compare

show commit changes diff

Discard changes in the candidate datastore

discard

rollback

or

rollback 0

abort

Update the candidate baseline

update

update

Validate changes in the candidate datastore

validate

commit check

Commit changes to the running datastore

commit

(also runs validate)

commit

(also runs commit check)

commit

Commit changes to the running datastore with a comment

commit comment "string"

commit comment "string"

commit comment "string"

Roll back to a previous configuration

rollback commit-id | startup

rollback number

rollback configuration to commit-id

Run an operational command

/command

run command

do command

Commit confirmed commands

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

Table 2. Commit confirmed commands

SR OS 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

Configuration management commands

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

Table 3. Configuration management commands

SR OS 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 format

Input is accepted in hierarchical or formal format

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 commit history

show system management-interface commit-history

show system commit

show configuration commit list