Basic CLI Commands
Page 164
7950 SR OS Basic System Configuration Guide
By default SR OS will automatically create a new rollback checkpoint after a commit operation. The roll-
back checkpoint will contain the new configuration changes made by the commit. An optional
no-check-
point
keyword can be used to avoid the auto-creation of a rollback checkpoint after a commit.
A commit operation is blocked if a rollback revert is currently being processed.
Parameters
confirmed —
Specifies that the commit operation (if successful) should be automatically reverted (undone)
at the end of the timeout period unless the operator issues the confirm command before the timeout
period expires. A rollback checkpoint is created after the commit operation (if successful) and will
remain available whether the commit is auto-reverted or not. The contents of the candidate will remain
visible (candidate view) and changes to the candidate are blocked until the timeout is completed or the
candidate confirm command is executed. If the timeout expires and an auto-revert occurs, then the
original candidate config will be available in edit-cfg mode.
Standard line-by-line non-transactional configuration commands (including via SNMP) are not blocked
during the countdown period and any changes made to the configuration during the countdown period
will be rolled back if the timeout expires. The confirmed option is useful when changes are being made
that could impact management reachability to the router.
A rollback revert is blocked during the countdown period until the commit has been confirmed.
timeout —
The auto-revert timeout period in minutes.
Values
1 — 168
no-checkpoint —
Used to avoid the automatic creation of a rollback checkpoint for a successful commit.
comment comment —
Adds a comment up to 255 characters in length to the automatic rollback checkpoint.
confirm
Syntax
confirm
Context
candidate
Description
This command is used to stop an automatic reversion to the previous configuration after the
candidate com-
mit confirmed
command was used. If the confirm command is not executed before the commit confirmed
timeout period expires then the previous commit changes will be undone and the previous candidate config-
uration will be available for editing and a subsequent commit.
During the countdown the contents of the candidate will remain visible (candidate view) and changes to the
candidate are blocked until the timeout is completed or the candidate confirm command is executed. Execut-
ing the confirm command clears the contents of the candidate and allows editing of the candidate.
copy
Syntax
copy
[
line
]
Context
candidate
Description
This command copies the selected CLI node (which includes all sub-branches) into a temporary buffer that
can be used for a subsequent insert. The contents of the temporary buffer are deleted when the operator exits
the candidate edit mode.
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...