Chapter 4 Configuring General Router Features

Managing Configuration Sessions

Starting an Exclusive Configuration Session

An exclusive configuration session allows you to configure the administration configuration or an SDR 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 your exclusive configuration session.

During regular configuration sessions, the running configuration is locked whenever a commit operation is being performed. This automatic locking ensures that 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 SDR, connect to that SDR and enter the configure exclusive command:

RP/0/RP0/CPU0:router# configure exclusive

RP/0/RP0/CPU0:router(config)#

Note If the configuration is already locked by another user, the configure exclusive command fails. To display locked and unlocked configuration sessions, see the “Displaying the Active Configuration Sessions” section on page 4-24.

To start an exclusive configuration session for the administration configuration, connect to the DSC and enter the configure exclusive command in administration EXEC mode:

RP/0/RP0/CPU0:router# admin

RP/0/RP0/CPU0:router(admin)# configure exclusive

RP/0/RP0/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 4-37.

Displaying Configuration Details with show Commands

The following sections describe the following tasks:

Displaying the Running Configuration, page 4-26

Displaying a Sanitized Version of the Running Configuration, page 4-28

Displaying the Target Configuration, page 4-30

Displaying a Combined Target and Running Configuration, page 4-31

Displaying Configuration Error Messages and Descriptions, page 4-32

Displaying Configuration Error Messages Without Descriptions, page 4-32

Displaying Configuration Error Messages Produced While Loading a Configuration, page 4-32

Displaying the Running Configuration

The running configuration is the committed configuration that defines the router operations, and it is divided into the administration configuration and an SDR configuration for each SDR. The portion of the running configuration that you can view depends on the current CLI mode and SDR connection.

 

Cisco IOS XR Getting Started Guide

4-26

OL-10957-02

Page 112
Image 112
Cisco Systems Cisco IOS XR manual Starting an Exclusive Configuration Session, Displaying the Running Configuration