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
— encryption-key string
— interactive
— [url] string
— rename
— [cli-path] string
— to string
— rollback
— commit-id number
— [rollback-id] (keyword | number)
— update
— /configure
— /bof
— check
— /debug
— /li
— validate
Configuration mode command descriptions
annotate [comment-text] string
[comment-text] string
[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
comment string
confirmed
accept
cancel
comment string
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
compare [from] string to string
[from] string
[to] string
[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
[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
discard
[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
[new-entry] string
after
[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
[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
end
load [mode] keyword
[mode] keyword
encryption-key string
Synopsis | Encryption key of the file to be loaded | |
Context | load keyword encryption-key string | |
Tree | encryption-key | |
String Length | 8 to 32 | |
Notes | The following elements are part of a mandatory choice: interactive or (encryption-key and url). | |
Introduced | 21.7.R1 | |
Platforms | All |
interactive
Synopsis | Load the configuration interactively | |
Context | load keyword interactive | |
Tree | interactive | |
Description | This command allows the user to enter configuration commands directly in an interactive session. | |
Notes | The following elements are part of a mandatory choice: interactive or (encryption-key and url). | |
Introduced | 22.10.R1 | |
Platforms | All |
[url] string
rename
[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
rollback
commit-id number
[rollback-id] (keyword | number)
Synopsis | Saved configuration number to roll back to | |
Context | rollback [rollback-id] (keyword | number) | |
Tree | [rollback-id] | |
Range | 0 to 200 | |
Options | ||
Notes | The following elements are part of a choice: commit-id or rollback-id. | |
Introduced | 23.3.R1 | |
Platforms | All |
update
/configure
Synopsis | Update the entire candidate | |
Context | update /configure | |
Tree | /configure | |
Introduced | 16.0.R4 | |
Platforms | All |