Cisco ASR 14000 Series Management Command Reference page 147

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Configuration Management Commands on Cisco IOS XR Software
Task ID
Task ID
root-lr (EXEC)
root-system
(administration EXEC)
Examples
Rolling Back to a Specific Commit ID
The following example shows how to roll back to a specific commit ID. In this example, the show
configuration commit list command displays the available rollback points. The configuration is then
rolled back to a prior commit with the rollback configuration command.
RP/0/RP0/CPU0:router# show configuration commit list
SNo. Label/ID
~~~~ ~~~~~~~~
1
2
3
4
5
6
7
8
9
RP/0/RP0/CPU0:router# rollback configuration to 1000000008
Loading Rollback Changes.
Loaded Rollback Changes in 1 sec
Committing.
1 items committed in 1 sec (0)items/sec
Updating.RP/0/RP0/CPU0:Sep 26 02:42:09.318 : config_rollback[65707]: %LIBTARCFG-
6-COMMIT : Configuration committed by user 'lab'.
0000010' to view the changes.
Updated Commit database in 1 sec
Configuration successfully rolled back to '1000000008'.
Rolling Back to a Span of Configuration Commits
The following example shows how to roll back to the configuration that existed prior to the last two
configuration commits:
RP/0/RP0/CPU0:router# rollback configuration last 2
Loading Rollback Changes.
Loaded Rollback Changes in 1 sec
Committing.
1 items committed in 1 sec (0)items/sec
Updating.
Updated Commit database in 1 sec
Configuration successfully rolled back 2 commits.
Related Commands
Command
show configuration
rollback changes
OL-17231-01
Operations
read, write
read, write
User
Line
~~~~
~~~~
1000000009
lab
con0_RP0_C
1000000008
lab
con0_RP0_C
1000000007
lab
con0_RP0_C
1000000006
lab
con0_RP0_C
1000000005
lab
con0_RP0_C
1000000004
lab
con0_RP0_C
1000000003
lab
con0_RP0_C
1000000002
UNKNOWN
con0_RP0_C
1000000001
UNKNOWN
con0_RP0_C
Description
Displays changes that would be made by the rollback configuration
command or displays the list of commit IDs.
Cisco ASR 14000 Series Router System Management Command Reference
Client
Time Stamp
~~~~~~
~~~~~~~~~~
Rollback
02:41:08 UTC Sun Sep 26 2004
CLI
02:40:30 UTC Sun Sep 26 2004
CLI
02:39:54 UTC Sun Sep 26 2004
Rollback
02:38:40 UTC Sun Sep 26 2004
CLI
02:37:35 UTC Sun Sep 26 2004
CLI
02:37:04 UTC Sun Sep 26 2004
CLI
02:34:53 UTC Sun Sep 26 2004
CLI
23:51:30 UTC Fri Sep 24 2004
CLI
23:08:31 UTC Fri Sep 24 2004
Use 'show commit changes 100
rollback configuration
SMR-145

Advertisement

Table of Contents
loading

Table of Contents