Solved

Config Cisco Switch

Posted on 2009-05-06
7
786 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
7 Comments
 
LVL 1

Expert Comment

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

Author Comment

by:emieldmz
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:emieldmz
Comment Utility
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 500 total points
Comment Utility
>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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now