ā10-20-2020 04:32 AM
switch is running in install mode, i can see files in .pkg format. I can't find a good documentation on how to backup the config files, need help.
ā10-20-2020 04:35 AM
The config file for a switch is called:
config.text
ā04-16-2024 06:19 AM
Leo, does not exist config.text on 3650 series switches.
ā10-20-2020 04:52 AM
- Typical command to backup config to external tftp server (e.g.) :
switch # copy running-config tftp://10.0.0.1/switch-backup.cfg
(of course the tftp destination-parameters may vary)
For an exhaustive manual go here :
M.
ā12-20-2020 05:25 PM
Hello guys,
I am trying to backup the IOS and config file on my Cisco catalyst
4948E/E-F switch but cant even run a "show flash" command.
I am guessing the command are different for these series of switches.
Please I need help with the commands and any document describing the procedure for more information.
Switch:Cisco catalyst 4948E/E-F
IOS: cat4500e-entservicesk9-mz.152-2.E2.bin
Thank you.
ā12-20-2020 06:52 PM
dir nvram:
ā12-20-2020 07:58 PM
Hello Leo
Thank you for responding swiftly to my post.
I ran "dir nvram" and the ouput can be seen below.
Switch4#dir nvram
%Error opening bootflash:/nvram (File not found)
Switch4#sh bootflash
-#- --length-- -----date/time------ path
1 39660287 Aug 14 2015 06:48:04 cat4500e-entservicesk9-mz.152-2.E2.bin
2 27242762 Nov 11 2015 15:16:04 cat4500e-entservicesk9-mz.150-2.SG8.bin
51234816 bytes available (76931072 bytes used)
ā12-20-2020 09:20 PM
@jessieo wrote:
Switch4#dir nvram
That is the wrong syntax. Look at the last character incorrectly entered and compare my last response.
ā12-20-2020 09:49 PM
Thank you for pointing out my mistake Leo.
I can confirm that the startup-config file is in the directory but
the IOS file and vlan.dat files are missing.
Switch4#dir nvram:
Directory of nvram:/
512 -rw- 1352 <no date> startup-config
513 ---- 1919 <no date> private-config
514 -rw- 1352 <no date> underlying-config
1 ---- 0 <no date> rf_cold_starts
2 ---- 266 <no date> persistent-data
3 -rw- 0 <no date> ifIndex-table.gz
524284 bytes total (517889 bytes free)
Are the files in a different directory?
ā12-20-2020 10:25 PM
vlan.dat is stored in a different partition and I do not recall where.
The easiest way is to run the following command
dir all | include vlan.dat
ā12-20-2020 10:56 PM
Thank you for your help Leo!
Two more questions please.
1. My understanding is that I need to change to the different partitions to backup these files.
When I restore the files to a different switch, do I also need to change to the different partitions
before running the "copy tftp flash" command?
2. Will the license pose a problem when I restore these files to a different switch's partition?
Thank you.
ā12-20-2020 11:52 PM
The only partition anyone can "touch" is the flash: or bootflash:.
ā12-21-2020 07:28 PM
I am sorry I dont understand.
Please explain.
ā12-21-2020 08:33 PM
Anyone can "add" files in the flash: or bootflash:. Other partitions are "locked down" like a bank.
Appliance licenses are stored in a different partition and only the system has access to it.
ā12-21-2020 08:55 PM
Thank you again Leo for responding.
Just so I am sure I get you correctly,
1. I can access the bootflash: partition and backup the IOS file but can not access the partitions housing the config files (startup-config etc).
2. In an attempt to transfer the IOS and configuration files from this switch to another switch (same switch model), I will run into problems with licensing.
Is the above correct?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide