Cisco Systems ASR 9000, A9K24X10GETR, A9KMOD80TR manual Clearing a Target Configuration, 6-10

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 132
Image 132
Clearing a Target Configuration

Chapter 6 Troubleshooting the Cisco IOS XR Software

Memory Warnings in Configuration Sessions

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

Clearing a Target Configuration

A low-memory warning can occur when a large configuration file is loaded into a target configuration session. To remove the target configuration, type the clear command to discard the changes. For example:

RP/0/RSP0/CPU0:router(config)# clear

Caution Committing a target configuration that has caused a low-memory warning can make the system unstable. Clearing a target configuration is a preventive measure to not let the system go into a worse memory state due to additional configuration. In addition, all other active configuration sessions can be closed to minimize the churn.

Removing Committed Configurations to Free System Memory

You can reduce memory usage by removing configurations from the router, as shown in the following procedure:

Step 1 Type the show memory summary command in EXEC mode to display the overall system memory: RP/0/RSP0/CPU0:router# show memory summary

Physical Memory: 2048M total

Application Memory : 1787M (1511M available)

Image: 132M (bootram: 132M)

Reserved: 128M, IOMem: 0, flashfsys: 0

Total shared window: 0

Step 2 Type the show configuration commit list command in EXEC or administration EXEC mode to list the configurations you can remove.

Note To display the details of a configuration, type the show configuration commit changes command followed by a commitID number. To display additional configuration history information, type the show configuration history ? command, and use the command options to display additional information.

Step 3 Type the show running-configcommand to display the current configuration.

Step 4 Remove configurations as needed to free memory.

For more information, see the Managing Configuration History and Rollback, page 4-6.

Rolling Back to a Previously Committed Configuration

You can roll back the system to a previous committed configuration, as described in Managing Configuration History and Rollback, page 4-6.

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

6-10

OL-17502-01

Page 132
Image 132
Cisco Systems ASR 9000 Clearing a Target Configuration, Removing Committed Configurations to Free System Memory, 6-10