Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Config Cisco Switch

Posted on 2009-05-06
7
Medium Priority
?
823 Views
Last Modified: 2012-05-06
If I look in a Cisco switch I see the config.txt file. Every time I save the running config (copy r s or write) then the config.txt is updated with the current timestamp. I thought that when I save a running config it saves in the nvram of the switch and not in the flash memory. However when I look in a router then I can't see a config.txt. So how is this possible? Thnx in advance.
0
Comment
Question by:emieldmz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Expert Comment

by:vadirajj
ID: 24312826
what is the question , please share details of the Swith an router models
0
 

Author Comment

by:emieldmz
ID: 24312930
I have tried it on a 3560 swtich and 1841 router. The question is why does the switch save the config to config.txt and the router doesn't. They both have nvram.
0
 
LVL 3

Expert Comment

by:cnjuguna
ID: 24313159
Note that with Cisco L2 switches configs are written to memory and nvram at the same time. The running config and startup-config are the same always.  See this blog:

http://tech-on-tech.blogspot.com/2007/04/cisco-tip-saving-configuration-changes_01.html

0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

Author Comment

by:emieldmz
ID: 24313182
Can you tell me what the reason is that the Switch does saves it 2 times and the Router only once to nvram?
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 2000 total points
ID: 24313430
>Note that with Cisco L2 switches configs are written to memory and nvram at the same time. The running config and startup-config are the same always.  See this blog:

This is only true on CatOS switches. IOS switches do NOT automatically save the config running-config to startup-config.

As for why the file in flash, some platforms don't save the config in NVRAM. Instead, it is saved to flash. It's the same command (copy run start) but it goes to flash instead of NVRAM.
0
 
LVL 16

Expert Comment

by:Aaron Street
ID: 24325178
intresting,

Don, do you have a link to this information about where the fiels get saved.

I know on some switchs when you do a "DIR" for cirtian file systems you get a almulgation of seperate file systems.

also does any one know the difference between a

write commands
and the copy run start?

is this a throw back from them both. where copy run start. copies the data to the nvram

where as write copied the config to the flash memory.

so now both commands copy the running config to both the nvram and the flash.

0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 24330800
No.

Most platforms today are saving the config in flash.

"write memory" is the "legacy" version of "copy running-config startup-config". They perform the exact same function. Cisco has been saying they will discontinue the write commands for years but they're still around.


0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question