Cisco Systems A9K24X10GETR Network Router User Manual


 
FINAL DRAFT —Cisco Confidential
3-20
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 3 Configuring General Router Features
Managing Configuration Sessions
RP/0/RSP0/CPU0:router# show configuration sessions
Current Configuration Session Line User Date Lock
00000041-006d60d3-00000000 vty0 mehrenre Wed Dec 3 00:33:32 2008
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
“Starting
an Exclusive Configuration Session” section on page 3-21.
Note Configuration sessions for administration configuration and each RSP are managed independently. For
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.
Note The target configuration is not a copy of the running configuration. It has only the configuration
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
“Committing
Changes to the Running Configuration” section on page 3-28.
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
“Saving the Target
Configuration to a File” section on page 3-26.
Examples
The following examples show how to manage configuration sessions:
Simple RSP Configuration: Example, page 3-20
Simple Administration Configuration Session: Example, page 3-21
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
!