Viewing and Saving Cisco Router Configurations

Viewing  and Saving  Configurations on your Cisco Router can be alot easy to some people, and  maybe kinda tedious to some. If you have run all your router setup through setup mode, at the final stage the router will request, that  if you want to use the configuration you created.

At this point If you say yes, then it will copy the running configuration

in DRAM, known as running-config, to NVRAM and change name of the file to

startup-config.

 

in other you can manually save the file from DRAM to NVRAM by using the

copy running-config startup-config command. You can do that simply by using this shortcut command

copy run start also.

Router#copy run start

Destination filename [startup-config]?return

the following message will pop out “Warning: Attempting to overwrite an NVRAM configuration

previously written by a different version of the system” telling that your about to change the boot process of the router

 

press confirm to continue saving the configuration …

Overwrite the previous NVRAM configuration?[confirm]return

At this point the router will build up a configuration table

Building configuration…

Notice that the message stated we were trying to write over the older

startup-config. The IOS had been just upgraded to version 12.8, and the last

time the file was saved, 11.3 was running.

You can view the files you save on the running config by typing the command show running-config or

show startup-config from the router privileged mode. The sh run command, which

is the shortcut for show running-config, tells us that we are viewing the

current configuration on the router.

Router#sh run

Building configuration…

Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router

ip subnet-zero

frame-relay switching

!

[cut]

The sh start command, which is the shortcut for the show startupconfig

command, shows us the configuration that will be used the next time

 

the router is reloaded and also shows us the amount of NVRAM used to

store the startup-config file.

Router#sh start

Using 4850 out of 32762 bytes

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router

!

!

ip subnet-zero

frame-relay switching

!

[cut]

You can delete the startup-config file by using the command erase

startup-config. Once you perform this command, you will receive an

error if you try to view the startup-config file.

Router#erase startup-config

Erasing the nvram filesystem will remove all files!

Continue? [confirm]

[OK]

Erase of nvram: complete

Router#sh start

%% Non-volatile configuration memory is not present

Router#

In this post we have discus how to View and Save Configurations on your Cisco Router.

Leave a Reply

Your email address will not be published. Required fields are marked *