Solved

Config Cisco Switch

Posted on 2009-05-06
7
817 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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 500 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 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