Chapter 4 Configuring General Router Features

Managing Configuration Sessions

In the following example, the router enters interface configuration mode and the user selects a POS interface for configuration. The command syntax is interface type rack/slot/module/port.

RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/4

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

The command mode prompt changes from “(config)” to “(config-if)”and you can now enter configuration commands for the specified interface.

Step 5 To exit interface configuration mode and return to global configuration mode, enter the exit command. To return to EXEC mode, enter the end command.

Managing Configuration Sessions

In the Cisco IOS XR software, the running (active) configuration can never be altered directly. All configuration changes are entered into an inactive target configuration. When the target configuration is ready for use, you can apply that configuration to the router with the commit command. This two-stage process allows configuration changes to be made, edited, and verified before the actual running state of the router is impacted.

Figure 4-6illustrates the two-stage configuration process.

Figure 4-6 Two-Stage Configuration Process

EXEC mode

Administration

mode

Global

configuration

mode

Administration configuration mode

Stage 1:

Enter configuration changes or load a saved configuration.

Save configuration changes to a file.

Stage 2: "Commit" changes to the running configuration.

149946

Global configuration mode is used to configure SDR features, such as routing protocols and interfaces. Administration configuration mode is used to assign hardware components to SDRs and to configure multishelf systems.

The following sections describe the management options for configuration sessions:

Displaying the Active Configuration Sessions, page 4-24

Starting a Configuration Session, page 4-25

Starting an Exclusive Configuration Session, page 4-26

Displaying Configuration Details with show Commands, page 4-26

Saving the Target Configuration to a File, page 4-33

Loading the Target Configuration from a File, page 4-33

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-10957-02

 

 

4-23

 

 

 

 

 

Page 109
Image 109
Cisco Systems Cisco IOS XR manual Managing Configuration Sessions, 6illustrates the two-stage configuration process