Chapter 7 Troubleshooting the Cisco IOS XR Software

Memory Warnings in Configuration Sessions

Step 1 Enter the show memory summary command in EXEC mode to display the overall system memory:

RP/0/RP0/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 Enter 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, enter the show configuration commit changes command followed by a commitID number. To display additional configuration history information, enter the show configuration history ? command, and use the command options to display additional information.

Step 3 Enter 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” section on page 5-3.

Rolling Back to a Previously Committed Configuration

You can roll back the system to a previous committed configuration, as described in the “Managing Configuration History and Rollback” section on page 5-3.

Clearing Configuration Sessions

Active configuration sessions and their associated target configurations can consume system memory. Users with the appropriate access privileges can display the open configuration sessions of other users and terminate those sessions, if necessary (see Table 7-3).

Table 7-3

Session Commands

 

 

 

 

Command

 

Description

 

 

show configuration sessions

Displays the active configuration sessions.

 

 

clear configuration sessions session-id

Clears a configuration session.

 

 

 

In the following example, the open configuration sessions are displayed with the show configuration sessions command. The clear configuration sessions command is then used to clear a configuration session.

RP/0/RP0/CPU0:router# show configuration sessions

Session

Line

User

Date

Lock

00000211-002c409b-00000000

con0_RP1_CPU0 UNKNOWN

Mon Feb

2 01:02:09 2004

RP/0/RP0/CPU0:router# clear configuration sessions 00000211-002c409b-00000000

session ID '00000211-002cb09b-00000000' terminated

 

Cisco IOS XR Getting Started Guide

7-12

OL-10957-02

Page 188
Image 188
Cisco Systems Cisco IOS XR manual Rolling Back to a Previously Committed Configuration, Clearing Configuration Sessions