Configuration workflow commands
The following table compares the configuration workflow commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.
SR OS | Junos OS | IOS XR | |
---|---|---|---|
Navigate into a context |
Enter the context by typing
For example: |
For example: |
Enter the context by typing
For example: |
Set an element in the candidate datastore |
Enter the context with a value by typing |
|
Enter the context with a value by typing |
Delete an element from the candidate datastore |
|
|
|
Annotate an element in the candidate datastore with a comment |
|
|
Enter |
Match and replace values in the candidate configuration | replace "string" with
"string" 1 |
replace pattern "string" with
"string" |
replace pattern 'string' with
'string' |
Show the candidate configuration from the present working context |
|
|
|
Show the candidate configuration with default and unconfigured values |
|
|
— |
Show the candidate configuration with inherited values from configuration groups |
|
|
|
Show the intended running configuration with configuration groups expanded without groups and apply-groups statements |
|
— |
— |
Show the candidate configuration in a flat format |
|
|
|
Show the candidate configuration in JSON format |
|
|
|
Show the candidate configuration in XML format |
|
|
|
Show the running configuration |
|
|
|
Show changes between datastores |
|
|
|
Discard changes in the candidate datastore |
|
|
|
Update the candidate baseline |
|
|
— |
Validate changes in the candidate datastore |
|
|
— |
Commit changes to the running datastore |
(also runs |
(also runs |
|
Commit changes to the running datastore with a comment |
|
|
|
Roll back to a previous configuration |
|
|
|
Run an operational command |
|
|
|
Commit confirmed commands
The following table compares the commit commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.
SR OS | Junos OS | IOS XR | |
---|---|---|---|
Start the commit confirmed |
Default timeout: 10 minutes |
Default timeout: 10 minutes |
Note: timeout is in seconds unless specified with
|
Accept a commit confirmed |
|
|
|
Cancel a commit confirmed |
|
|
Exit configuration mode or clear the CLI session |
Configuration management commands
The following table compares the configuration management commands of the Nokia SR OS MD-CLI to those used by Junos OS and IOS XR.
SR OS | Junos OS | IOS XR | |
---|---|---|---|
Paste configuration |
Input is accepted in hierarchical, |
Input is accepted in |
Input is accepted in hierarchical or formal format |
Load and merge a configuration file |
|
|
|
Load and replace a configuration file |
|
|
|
Save configuration to a file |
|
|
|
Show the commit history |
show system management-interface
commit-history |
|
|