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
comment string
accept
cancel
persist-id string
compare
string
string
string
flat
lines number
summary
copy
string
to string
discard
string
load keyword 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

Context

annotate string cli-path string

Tree
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

comment string

Synopsis

Provide comment for commit

Context
Tree
Introduced

21.5.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

Synopsis

Compare changes between datastores

Context
Tree
Introduced

16.0.R1

Platforms

All

[cli-path] string

Synopsis

Absolute path or relative path from pwc

Context
Tree
Introduced

20.10.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

from string

Synopsis

Source configuration from which to compare

Context

compare from string

Tree
Default

baseline

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
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
Introduced

16.0.R1

Platforms

All

to string

Synopsis

Configuration to compare against source configuration

Context

compare to string

Tree
Default

candidate

Introduced

16.0.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

Context

copy cli-path string

Tree
Introduced

20.10.R1

Platforms

All

to string

Synopsis

Destination path

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
Tree
Introduced

20.10.R1

Platforms

All

exclusive

Synopsis

Enter exclusive configuration mode

Context
Tree
Introduced

16.0.R1

global

Synopsis

Enter global configuration mode

Context
Tree
Introduced

16.0.R1

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

private

Synopsis

Enter private configuration mode

Context
Tree
Introduced

16.0.R4

read-only

Synopsis

Enter read-only configuration mode

Context
Tree
Introduced

16.0.R1

rename

Synopsis

Rename a list element

Context
Tree
Introduced

20.10.R1

Platforms

All

[cli-path] string

Synopsis

Source element path to the list

Context
Tree
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