Memory Warnings in Configuration Sessions
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:
Type the show memory summary command in EXEC mode to display the overall system memory:
Step 1
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
Type the show configuration commit list command in EXEC or administration EXEC mode to list the
Step 2
configurations you can remove.
To display the details of a configuration, type the show configuration commit changes command
Note
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.
Type the show running-config command to display the current configuration.
Step 3
Remove configurations as needed to free memory.
Step 4
For more information, see the
Rolling Back to a Previously Committed Configuration
You can roll back the system to a previous committed configuration, as described in
Configuration History and Rollback, page
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
6-10
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
Managing Configuration History and Rollback, page
Chapter 6
Troubleshooting the Cisco IOS XR Software
4-6.
4-6.
Managing
OL-17502-01