Chapter 4 Configuring General Router Features

Managing Configuration Sessions

shutdown

!

interface POS0/3/0/2 shutdown

!

interface POS0/3/0/3 shutdown

!

interface preconfigure MgmtEth0/RP0/CPU0/0 shutdown

!

router static address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP1/CPU0/0

!

!

end

To display the sanitized administration portion of the running configuration, connect to the DSC and enter the show running-config sanitized command in administration EXEC or administration configuration mode, as shown in the following example:

RP/0/RP0/CPU0:router(admin)# show running-config sanitized

Building configuration...

sdr <removed> location 0/1/* primary

!

username <removed> secret 5 <removed> group root-system

!

end

Displaying the Target Configuration

The target configuration includes the configuration changes that have been entered but not yet committed. These changes are not yet part of the running configuration.

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

To display the target configuration changes you have entered for an SDR, enter the show configuration command in global configuration mode or in any submode, as shown in the following example:

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

Building configuration...

interface POS0/3/0/3 description faq

ipv4 address 10.1.1.1 255.0.0.0 end

To display the target administration configuration changes you have entered, enter the show configuration command in administration configuration mode or in any submode, as shown in the following example:

RP/0/RP0/CPU0:router(admin-config-sdr:test)# show configuration

 

 

 

Building configuration...

 

 

 

sdr test

 

 

 

location 0/1/* primary

 

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

4-30

 

OL-10957-02

 

 

 

 

Page 116
Image 116
Cisco Systems Cisco IOS XR manual Displaying the Target Configuration