User Guide

FINAL DRAFT —Cisco Confidential
3-21
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 3 Configuring General Router Features
Managing Configuration Sessions
end
Simple Administration Configuration Session: Example
The following example shows a simple administration configuration session in which the target
configuration is created and previewed in administration configuration mode:
RP/0/RSP0/CPU0:router# admin
RP/0/RSP0/CPU0:router(admin)# configure
RP/0/RSP0/CPU0:router(admin-config)# sdr test
RP/0/RSP0/CPU0:router(admin-config-sdr:test)# location 0/1/SP
RP/0/RSP0/CPU0:router(admin-config-sdr:test)# show configuration
Building configuration...
sdr test
location 0/1/SP
!
end
Starting an Exclusive Configuration Session
An exclusive configuration session allows you to configure the administration configuration or an RSP
and lock out all users from committing configuration changes until you are done. Other users can still
create and modify a target configuration, but they cannot commit those changes to the running
configuration until you exit.
During regular configuration sessions, the running configuration is locked whenever a commit operation
is being performed. This automatic locking ensures each commit operation is completed before the next
one begins. Other users receive an error message if they attempt to commit a target configuration while
another commit operation is under way.
To start an exclusive configuration session for an RSP, connect to that RSP and type the configure
exclusive command:
RP/0/RSP0/CPU0:router# configure exclusive
RP/0/RSP0/CPU0:router(config)#
Note If the configuration is already locked by another user, the configure exclusive command fails. To view
locked and unlocked configuration sessions, see the
“Viewing Active Configuration Sessions” section
on page 3-19.
To start an exclusive configuration session for the administration configuration, connect to the RSP and
type the configure exclusive command in administration EXEC mode:
RP/0/RSP0/CPU0:router# admin
RP/0/RSP0/CPU0:router(admin)# configure exclusive
RP/0/RSP0/CPU0:router(admin-config)#
The running configuration is unlocked when the user who started the exclusive configuration session
exits the configuration mode, as described in the
“Ending a Configuration Session” section on page 3-31.
Viewing Configuration Details
The following sections describe the different ways to view information about your configuration:
Viewing the Running Configuration, page 3-22