Configuration mode commands
See “Editing configuration” in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide for more information.
— annotate comment-text-type
— [cli-path] cli-path-type
— commit
— comment string
— confirmed
— accept
— cancel
— comment string
— persist-id string
— [timeout] number
— compare string [to] string
— [cli-path] cli-path-type
— flat
— full-context
— lines number
— netconf-rpc
— summary
— copy
— [cli-path] cli-path-type
— to cli-path-type
— discard
— [cli-path] cli-path-type
— insert instance-id
— after
— [cli-path] instance-id
— before
— [cli-path] instance-id
— beginning
— end
— load keyword
— encryption-key string
— interactive
— [url] string
— rename
— [cli-path] cli-path-type
— to cli-path-type
— replace string with string
— [cli-path] cli-path-type
— continue-on-error
— depth number
— ignore-case
— rollback
— commit-id number
— [rollback-id] (keyword | number)
— update
— /configure
— /bof
— check
— /debug
— /li
— validate
Configuration mode command descriptions
annotate [comment-text] comment-text-type
[comment-text] comment-text-type
[cli-path] cli-path-type
Synopsis | Absolute path or relative path from pwc, or 'pwc' | |
Context | annotate comment-text-type [cli-path] cli-path-type | |
Tree | [cli-path] | |
Notes | This element is mandatory. | |
Introduced | 21.5.R1 | |
Platforms | All |
commit
comment string
confirmed
accept
cancel
Synopsis | Cancel commit confirmed and roll back changes | |
Context | commit confirmed cancel | |
Tree | cancel | |
Description | When specified, the router rolls back the configuration and returns the changes to the candidate. | |
Notes | The following elements are part of a choice: accept, cancel, or (comment and timeout). | |
Introduced | 16.0.R1 | |
Platforms | All |
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] cli-path-type
Synopsis | Absolute path or relative path from pwc | |
Context | compare string [to] string [cli-path] cli-path-type | |
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] cli-path-type
Synopsis | Absolute path or relative path from pwc, or 'pwc' | |
Context | copy [cli-path] cli-path-type | |
Tree | [cli-path] | |
Introduced | 20.10.R1 | |
Platforms | All |
to cli-path-type
discard
[cli-path] cli-path-type
Synopsis | Absolute path or relative path from pwc | |
Context | discard [cli-path] cli-path-type | |
Tree | [cli-path] | |
Introduced | 20.10.R1 | |
Platforms | All |
insert [new-entry] instance-id
[new-entry] instance-id
after
[cli-path] instance-id
Synopsis | Absolute path or relative path from pwc | |
Context | insert instance-id after [cli-path] instance-id | |
Tree | [cli-path] | |
Introduced | 19.10.R1 | |
Platforms | All |
before
[cli-path] instance-id
Synopsis | Absolute path or relative path from pwc | |
Context | insert instance-id before [cli-path] instance-id | |
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. This command is available with the merge option of the load command. See "Loading configuration interactively" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide for more information. | |
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] cli-path-type
Synopsis | Source element path to the list, or 'pwc' | |
Context | rename [cli-path] cli-path-type | |
Tree | [cli-path] | |
Introduced | 20.10.R1 | |
Platforms | All |
to cli-path-type
replace [pattern] string with string
[pattern] string
Synopsis | String (") or regular expression (') pattern to match | |
Context | replace string with string | |
Tree | replace | |
Description | This command configures a text string or regular expression that defines the values to match. | |
String length | 1 to 255 | |
Notes | This element is part of a list key. | |
Introduced | 23.7.R1 | |
Platforms | All |
with string
[cli-path] cli-path-type
Synopsis | Absolute path or relative path from pwc | |
Context | replace string with string [cli-path] cli-path-type | |
Tree | [cli-path] | |
Introduced | 23.7.R1 | |
Platforms | All |
continue-on-error
Synopsis | Continue the replace operation upon errors | |
Context | replace string with string continue-on-error | |
Tree | continue-on-error | |
Introduced | 23.7.R1 | |
Platforms | All |
depth number
ignore-case
Synopsis | Ignore case in pattern match | |
Context | replace string with string ignore-case | |
Tree | ignore-case | |
Introduced | 23.7.R1 | |
Platforms | All |
rollback
commit-id number
[rollback-id] (keyword | number)
Synopsis | Previous configuration to roll back to | |
Context | rollback [rollback-id] (keyword | number) | |
Tree | [rollback-id] | |
Range | 0 to 200 | |
Options | startup – Configuration loaded when the system boots | |
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 |