Managing Configuration Sessions
RP/0/RSP0/CPU0:router# show configuration sessions
Current Configuration Session
00000041-006d60d3-00000000
If an asterisk (*) appears in the Lock column, the user is using an exclusive configuration session and
you cannot start a configuration session until the session closes. For more information, see the
an Exclusive Configuration Session" section on page
Configuration sessions for administration configuration and each RSP are managed independently. For
Note
example, if a user locks the administration configuration, you can still configure an RSP if other users
have not locked a configuration session for that RSP.
Starting a Configuration Session
When you place the router in global configuration or administration configuration mode using the
configure command, a new target configuration session is created. The target configuration allows you
to enter, review, and verify configuration changes without impacting the running configuration.
The target configuration is not a copy of the running configuration. It has only the configuration
Note
commands entered during the target configuration session.
While in configuration mode, you can enter all Cisco IOS XR Software commands supported in that
configuration mode. Each command is added to the target configuration. You can view the target
configuration by entering the show configuration command in configuration mode. The target
configuration is not applied until you type the commit command, as described in the
Changes to the Running Configuration" section on page
You can save target configurations to disk as nonactive configuration files. These saved files can be
loaded, further modified, and committed at a later time. For more information, see the
Configuration to a File" section on page
Examples
The following examples show how to manage configuration sessions:
•
•
Simple RSP Configuration: Example
This example shows a simple owner RSP configuration session in which the target configuration is
created and previewed in global configuration mode:
RP/0/RSP0/CPU0:router # configure
RP/0/RSP0/CPU0:router(config)# interface tunnel-te 2
RP/0/RSP0/CPU0:router(config-if)# show configuration
Building configuration...
interface tunnel-te2
description faq
!
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
3-20
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
Simple RSP Configuration: Example, page 3-20
Simple Administration Configuration Session: Example, page 3-21
Chapter 3
Line
User
Date
vty0
mehrenre Wed Dec
3-21.
3-28.
3-26.
Configuring General Router Features
Lock
3 00:33:32 2008
"Starting
"Committing
"Saving the Target
OL-17502-01