Configuration mode commands

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

annotate string
[cli-path] string
commit 
comment string
confirmed 
accept 
cancel 
comment string
persist-id string
[timeout] number
compare string [to] string
[cli-path] string
flat 
full-context 
lines number
netconf-rpc 
summary 
copy 
[cli-path] string
to string
discard 
[cli-path] string
insert string
after 
[cli-path] string
before 
[cli-path] string
beginning 
end 
load keyword [url] string
encryption-key string
rename 
[cli-path] string
to string
rollback 
[commit-id] (keyword | number)
update 
/configure 
/bof 
check 
/debug 
/li 
validate 

Configuration mode descriptions

annotate [comment-text] string

  Synopsis Annotate a configuration element with a comment
  Context annotate string
  Tree annotate
  Introduced 21.5.R1
 

Platforms

All

[comment-text] string

  Synopsis 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 [cli-path] string
  Tree [cli-path]
 

Notes

This element is mandatory.

  Introduced 21.5.R1
 

Platforms

All

commit

  Synopsis Commit the candidate configuration
  Context commit
  Tree commit
  Introduced 16.0.R1
 

Platforms

All

comment string

  Synopsis Comment associated with the commit
  Context commit comment string
  Tree comment
  String Length 1 to 2048
  Introduced 21.10.R1
 

Platforms

All

confirmed

  Synopsis Explicitly confirm the changes to be accepted
  Context commit confirmed
  Tree confirmed
  Introduced 16.0.R1
 

Platforms

All

accept
  Synopsis Accept an ongoing confirmed commit
  Context commit confirmed accept
  Tree accept
 

Notes

The following elements are part of a choice: accept, cancel, or (comment and timeout).

  Introduced 16.0.R1
 

Platforms

All

cancel
  Synopsis Cancel an ongoing confirmed commit issued and roll back
  Context commit confirmed cancel
  Tree cancel
 

Notes

The following elements are part of a choice: accept, cancel, or (comment and timeout).

  Introduced 16.0.R1
 

Platforms

All

comment string
  Synopsis Comment associated with the commit
  Context commit confirmed comment string
  Tree comment
  String Length 1 to 2048
 

Notes

The following elements are part of a choice: accept, cancel, or (comment and timeout).

  Introduced 21.10.R1
 

Platforms

All

persist-id string
  Synopsis Persistent confirmed commit ID
  Context commit confirmed persist-id string
  Tree persist-id
  Introduced 16.0.R1
 

Platforms

All

[timeout] number
  Synopsis Confirmed commit expiration timeout interval
  Context commit confirmed [timeout] number
  Tree [timeout]
  Range 1 to 65535
  Default 10
  Units minutes
 

Notes

This element is the default part of a choice.

The following elements are part of a choice: accept, cancel, or (comment and timeout).

  Introduced 16.0.R1
 

Platforms

All

compare [from] string to string

  Synopsis Compare changes between datastores
  Context compare string [to] string
  Tree compare
  Introduced 16.0.R1
 

Platforms

All

[from] string

  Synopsis Source configuration from which to compare
  Context compare string [to] 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 [to] string
  Default candidate
 

Notes

This element is part of a list key.

  Introduced 16.0.R1
 

Platforms

All

[cli-path] string

  Synopsis Absolute path or relative path from pwc
  Context compare string [to] string [cli-path] string
  Tree [cli-path]
  Introduced 20.10.R1
 

Platforms

All

flat

  Synopsis Show the context from the pwc on each line
  Context compare string [to] string flat
  Tree flat
 

Description

This option shows the hierarchy on each line starting from the present working context.

 

Notes

The following elements 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
  Context compare string [to] string full-context
  Tree full-context
  Introduced 16.0.R1
 

Platforms

All

lines number

  Synopsis Number of lines of context to display before and after
  Context compare string [to] string lines number
  Tree lines
 

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.

  Max. Range 0 to 4294967295
  Default 0
  Introduced 16.0.R1
 

Platforms

All

netconf-rpc

  Synopsis Display changes in NETCONF <edit-config> RPC format
  Context compare string [to] string netconf-rpc
  Tree netconf-rpc
 

Description

This option specifies the display of changes in NETCONF <edit-config> RPC format.

This option is only supported with the summary option.

 

Notes

The following elements 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 compare string [to] string summary
  Tree summary
 

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

copy

  Synopsis Copy a configuration element to another
  Context copy
  Tree copy
  Introduced 20.10.R1
 

Platforms

All

[cli-path] string

  Synopsis Absolute path or relative path from pwc, or 'pwc'
  Context copy [cli-path] string
  Tree [cli-path]
  Introduced 20.10.R1
 

Platforms

All

to string

  Synopsis Destination path, or 'pwc'
  Context copy to string
  Tree to
  Introduced 20.10.R1
 

Platforms

All

discard

  Synopsis Discard changes in the candidate datastore
  Context discard
  Tree discard
  Introduced 16.0.R1
 

Platforms

All

[cli-path] string

  Synopsis Absolute path or relative path from pwc
  Context discard [cli-path] string
  Tree [cli-path]
  Introduced 20.10.R1
 

Platforms

All

insert [new-entry] string

  Synopsis Insert an element into a user-ordered list
  Context insert string
  Tree insert
  Introduced 19.10.R1
 

Platforms

All

[new-entry] string

  Synopsis Identification of the new entry
  Context insert string
 

Notes

This element is part of a list key.

  Introduced 19.10.R1
 

Platforms

All

after

  Synopsis Insert an entry after the specified entry
  Context insert string after
  Tree after
 

Notes

The following elements are part of a choice: after, before, beginning, or end.

  Introduced 19.10.R1
 

Platforms

All

[cli-path] string
  Synopsis Absolute path or relative path from pwc
  Context insert string after [cli-path] string
  Tree [cli-path]
  Introduced 19.10.R1
 

Platforms

All

before

  Synopsis Insert an entry before the specified entry
  Context insert string before
  Tree before
 

Notes

The following elements are part of a choice: after, before, beginning, or end.

  Introduced 19.10.R1
 

Platforms

All

[cli-path] string
  Synopsis Absolute path or relative path from pwc
  Context insert string before [cli-path] string
  Tree [cli-path]
  Introduced 19.10.R1
 

Platforms

All

beginning

  Synopsis Insert the new entry at the beginning of the list
  Context insert string beginning
  Tree beginning
 

Notes

The following elements are part of a choice: after, before, beginning, or end.

  Introduced 19.10.R1
 

Platforms

All

end

  Synopsis Insert the new entry at the end of the list
  Context insert string end
  Tree end
 

Notes

This element is the default part of a choice.

The following elements are part of a choice: after, before, beginning, or end.

  Introduced 19.10.R1
 

Platforms

All

load [mode] keyword url string

  Synopsis Load contents from a local or remote file
  Context load keyword [url] string
  Tree load
  Introduced 16.0.R1
 

Platforms

All

[mode] keyword

  Synopsis Load mode
  Context load keyword [url] 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 [url] 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 [url] string encryption-key string
  Tree encryption-key
  String Length 8 to 32
  Introduced 21.7.R1
 

Platforms

All

rename

  Synopsis Rename a list element
  Context rename
  Tree rename
  Introduced 20.10.R1
 

Platforms

All

[cli-path] string

  Synopsis Source element path to the list, or 'pwc'
  Context rename [cli-path] string
  Tree [cli-path]
  Introduced 20.10.R1
 

Platforms

All

to string

  Synopsis Destination key name
  Context rename to string
  Tree to
  Introduced 20.10.R1
 

Platforms

All

rollback

  Synopsis Rollback to a previous configuration
  Context rollback
  Tree rollback
  Introduced 16.0.R1
 

Platforms

All

[commit-id] (keyword | number)

  Synopsis Commit ID to roll back to
  Context rollback [commit-id] (keyword | number)
  Tree [commit-id]
  Max. Range 0 to 4294967295
  Options startup
  Introduced 16.0.R1
 

Platforms

All

update

  Synopsis Update the candidate baseline
  Context update
  Tree update
  Introduced 16.0.R4
 

Platforms

All

/configure

  Synopsis Update the entire candidate
  Context update /configure
  Tree /configure
  Introduced 16.0.R4
 

Platforms

All

/bof

  Synopsis Update the entire BOF candidate
  Context update /bof
  Tree /bof
  Introduced 20.10.R1
 

Platforms

All

check

  Synopsis Perform dry-run update report without an actual update
  Context update check
  Tree check
  Introduced 16.0.R4
 

Platforms

All

/debug

  Synopsis Update the entire debug candidate
  Context update /debug
  Tree /debug
  Introduced 21.5.R1
 

Platforms

All

/li

  Synopsis Update the entire LI candidate
  Context update /li
  Tree /li
  Introduced 19.10.R1
 

Platforms

All

validate

  Synopsis Validate changes in the candidate datastore
  Context validate
  Tree validate
  Introduced 16.0.R1
 

Platforms

All