cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2992
Views
5
Helpful
20
Replies

3650 IOS XE config backup

chinpohpang851
Level 1
Level 1

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.

20 Replies 20

Leo Laohoo
Hall of Fame
Hall of Fame

The config file for a switch is called: 

config.text

Leo, does not exist config.text on 3650 series switches. 

marce1000
VIP
VIP

 

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

          https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/config-mgmt/configuration/xe-3se/cat3850/config-mgmt-xe-3se-cat3850-book.pdf

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

jessieo
Level 1
Level 1

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.

dir nvram:

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)

 

 

 


@jessieo wrote:

Switch4#dir nvram


That is the wrong syntax.  Look at the last character incorrectly entered and compare my last response.  

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?

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

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.

The only partition anyone can "touch" is the flash: or bootflash:.  

I am sorry I dont understand.

Please explain.

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.  

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?