cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
61079
Views
0
Helpful
10
Replies

using the command copy running-config tftp:

gordfran03
Level 1
Level 1

When I copy the running-config from an edge switch to my tftp server for backup purposes, am I getting more configuration information than what is shown in a "show running-config" display output? For example, the VTP configuration. The fact that a switch is configured to be a client in a particular VTP domain is not part of the show running-config output. As well as any other configuration changes that aren’t listed in your basic show running-config. I just want to make sure I'm getting all the pertinent configuration info when I backup my switches. Thanks.

10 Replies 10

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

As far as I know, copy running-conf to tftp is the same information as showing running-conf.

Whether it's all the pertinent information, the answer might be no.  For example, on switches, VLAN information isn't shown in normal configuration when in server or client modes.  Or, also for example, VTP password, or 3750 switch priority, or config-reg, isn't shown in running-conf.

Thanks. This just helps to confirm the suspicion I’ve had all along that there is no single command or step that one can take to “backup” a switch. There is always going to be more than one single file to save. Or some manual configuration needed (besides setting an IP address so you can talk to a tftp server) in order to replace a defective or misconfigured switch. The command copy running-config just gets you most of it. Especially the individual port configuration stuff.

I just learned something today. When I look at the file size for the same config using the #show run all" cmd .The file is almost 4 times larger than a #show run" cmd. There is a ton of extra stuff going down under the radar. Try a sh run all cmd and you will be amazed. Now what does this mean when you are trying to back up or restore a switch with notepad? It is probably not going to work.

 

Stuart Gall
Level 1
Level 1

Try
More system:running-config
And/or
Write terminal



Sent from Cisco Technical Support iPad App

Angus Bishop
Level 1
Level 1

You can use sh tech- support command to get more details . Since vlan information is saved in seperate file vlan.dat we will have to take it manually .


Agnus

Sent from Cisco Technical Support Android App

Well wat i suggest is to use log option in terminal.  That will help you much more.

Your can run

Show running-config

Show Cdp Nei

Show Int Brif

etc...

Commands what you wish u want to log.

Thanks..

Jawad

if you are wanting the running config, vlan database and vtp information - you can always do:

copy tftp running-config

copt tftp flash (then specify the vlan.dat)

then setup a job through ciscoworks/solarwinds or something of the sort to run a job daily to copy and save the the vtp information. it'd be easy to do it with solarwinds ncm. if you hae it and need help - just let me know.

Ravi Singh
Level 7
Level 7

Hello Gordon,

Please follow the below steps to see the complete running config.

1. Type show run all :- This command will show all the configuration which you can not see with sh run only.

2. Now type copy running-config tftp:

jpl861
Level 4
Level 4

You may want to try to play with KRON command. That is part of my standard config to sync current and startup config. It could have other features that you may try.


Sent from Cisco Technical Support Android App

such as ;

kron occurrence BACKUP at 23:00 recurring

policy-list BACKUP_POLICY

kron policy-list BACKUP_POLICY

cli show run | redirect tftp://192.168.0.2/router-config.txt

Review Cisco Networking for a $25 gift card