3. Configuration Mode Commands

Refer to “Configuring in the MD-CLI” in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide for more information.

annotate string
string
commit
number
accept
cancel
persist-id string
compare string string
flat
lines number
summary
string
copy
string
to string
discard
string
load keyword string
encryption-key string
rename
string
to string
(number | keyword)
update
/bof
/debug
/li
check

3.1. Configuration Mode Descriptions

annotate [comment-text] string

Synopsis

Annotate a configuration element with a comment

Context

annotate string

Tree
Introduced

21.5.R1

Platforms

All

[comment-text] string

Synopsis

Configuration comment for the configuration element

Context

annotate string

String Length

0 to 2048

Notes

This element is part of a list key.

Introduced

21.5.R1

Platforms

All

[cli-path] string

Synopsis

Absolute path or relative path from pwc, or 'pwc'

Context

annotate string string

Notes

This element is mandatory.

Introduced

21.5.R1

Platforms

All

commit

Synopsis

Commit the candidate configuration

Context
Tree
Introduced

16.0.R1

Platforms

All

confirmed

Synopsis

Require explicit confirmation for changes to apply

Context
Tree
Introduced

16.0.R1

Platforms

All

[timeout] number

Synopsis

Commit expiration timeout interval

Context
Range

1 to 65535

Default

10

Units

minutes

Notes

This element is the default part of a choice.

The following are part of a choice: accept, cancel, or timeout.

Introduced

16.0.R1

Platforms

All

accept

Synopsis

Confirm an ongoing confirmed commit

Tree
Notes

The following are part of a choice: accept, cancel, or timeout.

Introduced

16.0.R1

Platforms

All

cancel

Synopsis

Cancel an ongoing confirmed commit issued and roll back

Tree
Notes

The following are part of a choice: accept, cancel, or timeout.

Introduced

16.0.R1

Platforms

All

persist-id string

Synopsis

Persistent confirmed commit ID

Context
Introduced

16.0.R1

Platforms

All

compare [from] string [to] string

Synopsis

Compare changes between datastores

Context

compare string string

Tree
Introduced

16.0.R1

Platforms

All

[from] string

Synopsis

Source configuration from which to compare

Context

compare string string

Default

baseline

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

[to] string

Synopsis

Configuration to compare against source configuration

Context

compare string string

Default

candidate

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

flat

Synopsis

Show the context from the pwc on each line

Context
Tree
Notes

The following are part of a choice: flat or netconf-rpc.

Introduced

16.0.R1

Platforms

All

full-context

Synopsis

Show the full context on each line

Introduced

16.0.R1

Platforms

All

lines number

Synopsis

Number of lines of context to display before and after

Context

compare lines number

Tree
Description

This command specifies the number of lines of context to display before and after changed elements. The context is evaluated separately at each container. If the parameter value is larger than the available context, the maximum available context up to the container boundary is displayed.

Default

0

Introduced

16.0.R1

Platforms

All

netconf-rpc

Synopsis

Compare changes in NETCONF RPC format

Description

This option specifies the display of changes in NETCONF RPC format.

This option is only supported with the summary option.

Notes

The following are part of a choice: flat or netconf-rpc.

Introduced

21.5.R1

Platforms

All

summary

Synopsis

Suppress specific differences and display a summary

Context
Tree
Description

This command allows the suppression of specific differences and displays a summarized comparison. The summarized differences in elements under the highest level container that was deleted is displayed with { ... }. A tilde (~) character is displayed to indicate the new value of an element that has changed.

Introduced

16.0.R1

Platforms

All

[cli-path] string

Synopsis

Absolute path or relative path from pwc

Context

compare string

Introduced

20.10.R1

Platforms

All

copy

Synopsis

Copy a configuration element to another

Context
Tree
Introduced

20.10.R1

Platforms

All

[cli-path] string

Synopsis

Absolute path or relative path from pwc, or 'pwc'

Context

copy string

Introduced

20.10.R1

Platforms

All

to string

Synopsis

Destination path, or 'pwc'

Context

copy to string

Tree
Introduced

20.10.R1

Platforms

All

discard

Synopsis

Discard changes in the candidate datastore

Context
Tree
Introduced

16.0.R1

Platforms

All

[cli-path] string

Synopsis

Absolute path or relative path from pwc

Context
Introduced

20.10.R1

Platforms

All

load [mode] keyword [url] string

Synopsis

Load contents from a local or remote file

Context

load keyword string

Tree
Introduced

16.0.R1

Platforms

All

[mode] keyword

Synopsis

Load mode

Context

load keyword string

Options

merge, full-replace

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

[url] string

Synopsis

Location of the file to be loaded

Context

load keyword string

Notes

This element is part of a list key.

Introduced

16.0.R1

Platforms

All

encryption-key string

Synopsis

Encryption key of the file to be loaded

Context

load keyword string encryption-key string

String Length

8 to 32

Introduced

21.7.R1

Platforms

All

rename

Synopsis

Rename a list element

Context
Tree
Introduced

20.10.R1

Platforms

All

[cli-path] string

Synopsis

Source element path to the list, or 'pwc'

Context

rename string

Introduced

20.10.R1

Platforms

All

to string

Synopsis

Destination key

Context

rename to string

Tree
Introduced

20.10.R1

Platforms

All

rollback

Synopsis

Rollback to a previous configuration

Context
Tree
Introduced

16.0.R1

Platforms

All

[checkpoint] (number | keyword)

Synopsis

ID corresponding to the configuration file to roll back

Context

rollback (number | keyword)

Range

0 to 200

Options

startup

Introduced

16.0.R1

Platforms

All

update

Synopsis

Update the candidate baseline

Context
Tree
Introduced

16.0.R4

Platforms

All

/configure

Synopsis

Update the entire candidate

Tree
Introduced

16.0.R4

Platforms

All

/bof

Synopsis

Update the entire BOF candidate

Context
Tree
Introduced

20.10.R1

Platforms

All

/debug

Synopsis

Update the debug candidate

Context
Tree
Introduced

21.5.R1

Platforms

All

/li

Synopsis

Update the entire LI candidate

Context
Tree
Introduced

19.10.R1

Platforms

All

check

Synopsis

Perform dry-run update report without an actual update

Context
Tree
Introduced

16.0.R4

Platforms

All

validate

Synopsis

Validate changes in the candidate datastore

Context
Tree
Introduced

16.0.R1

Platforms

All