background image
366
Chapter 7
Managing a Cisco Internetwork
Verifying the Current Configuration
To verify the configuration in DRAM, use the show running-config com-
mand (sh run for short), as follows:
Router#sh run
Building configuration...
Current configuration:
!
version 12.0
The current configuration information indicates that the router is now
running version 12.0 of the IOS.
Verifying the Stored Configuration
Next, you should check the configuration stored in NVRAM. To see this, use
the show startup-config command (sh start for short), as follows:
Router#sh start
Using 366 out of 32762 bytes
!
version 11.2
The second line shows how much room your backup configuration is
using. In this example, NVRAM is 32KB and only 366 bytes of it are used.
Notice that the version of configuration in NVRAM is 11.2 (because I have
not copied running-config to startup-config since upgrading the router).
If you are not sure that the files are the same, and the running-config file
is what you want to use, then use the copy running-config startup-
config
to make sure both files are the same, as described in the next section.
Copying the Current Configuration to NVRAM
By copying running-config to NVRAM as a backup, as shown in the follow-
ing output, you are assured that your running-config will always be reloaded
if the router gets rebooted. In the new IOS version 12.0, you are prompted
for the filename you want to use. Also, in this example, since the version of
IOS was 11.2 the last time a copy run start was performed, the router will
let you know that it is going to replace that file with the new 12.0 version.
Router#copy run start
Destination filename [startup-config]?[Enter]
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com