Cisco ASR 14000 Series Management Command Reference page 117

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

Advertisement

Configuration Management Commands on Cisco IOS XR Software
RP/0/RP0/CPU0:Feb 21 04:42:57.017 : config[65689]: %MGBL-LIBTARCFG-6-COMMIT : Co
nfiguration committed by user 'user_a'.
1000000226' to view the changes.
RP/0/RP0/CPU0:router2(config)# end
RP/0/RP0/CPU0:router2# show configuration commit list detail
1) CommitId: 1000000226
2) CommitId: 1000000225
Changing the Commit ID to a Text Label
The following example shows how to use the commit command with the optional label keyword and
line argument to change the commit ID to a text label for easier identification. The label is then displayed
in the output of the show configuration commit list command.
RP/0/RP0/CPU0:router2# configure
RP/0/RP0/CPU0:router2(config)# hostname router3
RP/0/RP0/CPU0:router2(config)# commit label new_name
RP/0/RP0/CPU0:Feb 21 04:42:57.017 : config[65689]: %MGBL-LIBTARCFG-6-COMMIT : Co
nfiguration committed by user 'user_a'.
1000000227' to view the changes.
RP/0/RP0/CPU0:router3(config)# end
RP/0/RP0/CPU0:router3# show configuration commit list
SNo. Label/ID
~~~~ ~~~~~~~~
1
2
3
Commit a Configuration for a Specified Time
The following example shows how to use the commit command with the optional confirmed keyword
and number argument. The configuration changes are committed only for the specified number of
seconds. You can then either confirm the commit operation or discard the changes.
RP/0/RP0/CPU0:router2# configure
RP/0/RP0/CPU0:router2(config)# hostname router3
RP/0/RP0/CPU0:router2(config)# commit confirmed 30
RP/0/RP0/CPU0:router3(config)# end
Related Commands
Command
abort
clear (EXEC)
OL-17231-01
UserId:
user_a
Client:
CLI
Comment:
new name for router
UserId:
user_a
Client:
CLI
Comment:
NONE
User
Line
~~~~
~~~~
new_name
user_a
con0_RP1_C
1000000226
user_a
con0_RP1_C
1000000225
user_a
con0_RP1_C
Cisco ASR 14000 Series Router System Management Command Reference
Use 'show configuration commit changes
Label: NONE
Line:
con0_RP1_CPU0
Time:
12:59:26 UTC Wed Feb 04 2004
Label: NONE
Line:
con0_RP1_CPU0
Time:
12:58:32 UTC Wed Feb 04 2004
Use 'show configuration commit changes
Client
~~~~~~
CLI
CLI
CLI
Description
Ends a configuration session without saving changes to the target
configuration.
Resets command functions in administration EXEC mode or in EXEC
mode.
Time Stamp
~~~~~~~~~~
13:00:53 UTC Wed Feb 04 2004
12:59:26 UTC Wed Feb 04 2004
12:58:32 UTC Wed Feb 04 2004
commit
SMR-115

Advertisement

Table of Contents
loading

Table of Contents