Chapter 4 Configuring General Router Features

Managing Configuration Sessions

!

end

Displaying a Combined Target and Running Configuration

Although the target and running configurations remain separate until the target configuration is committed, you can preview the combined target and running configuration without committing the changes. The combined configuration shows what the new running configuration will look like after the changes from the target configuration are committed. It does not represent the actual running configuration.

You can preview the combined configuration in global configuration and administration configuration modes. You cannot preview the combined configuration in EXEC modes because the target configuration must be committed or abandoned before returning to EXEC or administration EXEC mode.

To display the combined target and running configuration, enter the show configuration merge command in any configuration mode.

Note The merge option does not appear in command help until the target configuration contains at least one configuration change.

The following example shows how to display the active SDR configuration (show running-config), configure an interface, and display the “merged” configuration:

RP/0/RP0/CPU0:router# show running-config

Building configuration...

!!Last configuration change at 16:52:49 UTC Sun March 10 2004 by cisco

!

hostname router shutdown

end

RP/0/RP0/CPU0:router# configure

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

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

RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0

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

Building configuration...

!!Last configuration change at 16:52:49 UTC Sun March 10 2004 by cisco

!

hostname router interface POS0/3/0/3

description faq

ipv4 address 10.1.1.1 255.0.0.0 shutdown

end

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-10957-02

 

 

4-31

 

 

 

 

 

Page 117
Image 117
Cisco Systems Cisco IOS XR manual Displaying a Combined Target and Running Configuration