01-15-2013 08:43 AM - edited 03-07-2019 11:06 AM
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.
01-15-2013 09:41 AM
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.
01-15-2013 10:38 AM
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.
08-03-2023 09:05 AM
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.
02-07-2013 11:28 AM
Try
More system:running-config
And/or
Write terminal
Sent from Cisco Technical Support iPad App
02-11-2013 02:29 PM
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
02-21-2013 07:42 AM
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..
03-16-2013 11:40 PM
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.
06-03-2013 09:11 PM
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:
07-06-2013 11:01 AM
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
07-23-2013 10:14 PM
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
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