04-10-2013 07:29 PM - edited 03-07-2019 12:44 PM
Hi Team,
I have a small doubt with Nexus 7k,5K,2k & 1K
We want to backup the running config to my desktop through tftp.
When i tried to backup from Nexus switches showing like below
Nexus 7K
copy running-config startup-config ? ===== Can i use this one or
<CR>
vdc-all Perform copy for all vdcs ======= What is the usage of this Vdc-all
It's showing two choices which one I have to follow "copy running-config startup-config" or "copy running-config startup-config Vdc-all"
Nexus 5K
copy running-config startup-config ?
<CR>
fabric Copy from source to fabric startup configuration
It's showing two choices which one I have to follow "copy running-config startup-config" or "copy running-config startup-config fabric"
Nexus 1K
copy running-config startup-config ?
<CR>
fabric Copy from source to fabric startup configuration
vdc-all Perform copy for all vdcs
It's showing three choices which one I have to follow "copy running-config startup-config" or "copy running-config startup-config fabric" or "copy running-config startup-config vdc-all"
Which one is having whole config.
Thanks..
Regards,
Kannan
Solved! Go to Solution.
04-10-2013 10:21 PM
Hi Kannan,
copy running-config startup-config vdc-all
To copy the running configuration for all virtual device contexts (VDCs) to the startup configuration, use the show copy running-config startup-config vdc-all command.
copy running-config startup-config vdc-all
HTH
Regards
Inayath.
04-10-2013 09:13 PM
HI kannan,
Please find details below:
Nexus 7K
copy running-config startup-config ?
Nexus7010# copy running-config tftp:192.168.1.1
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the tftp server:
Trying to connect to tftp server......
Could not connect to tftp server:No route to host
You must save the resource allocation from the default VDC before you can save the configuration in a nondefault VDC. Log into the default VDC and use the
copy running-config startup-config
command to save the resource allocation. Log into the nondefault VDC and save the configuration or use the
copy running-config startup-config
vdc-all
command in the default VDC to save the configuration in all VDCs
Ref:
2
-
Nexus 5K
copy running-config startup-config ?
fabric Copy from source to fabric startup configuration
My question is you said that you want to copy the config on TFTP then why are you copying the config to startup?
Regards
Inayath
*Plz rate all usefull posts.
04-10-2013 10:00 PM
Hi Inayath,
My Simple question, I want to backup the whole config from Nexus switches.
Shall use the below command.
copy running-config tftp://xx.xx.xx.xx vrf
this command it will take whole config backup is it?
Incase down in future we can use this back up to reload that's the reason I am asking.
Thanks....
Regards,
Kannan
04-10-2013 10:09 PM
Commit any changes to your start-up config I.e.
Copy run start
And then copy startup tftp:........vrf ....
Sent from Cisco Technical Support iPhone App
04-10-2013 10:16 PM
Thanks Bilal,
When I copy , it's showing two option which one i have to choose for whole config backup
"copy running-config startup-config" (or) "copy running-config startup-config vdc-all "
Please advise
04-10-2013 10:20 PM
You must save the resource allocation from the default VDC before you can save the configuration in a nondefault VDC. Log into the default VDC and use the copy running-config startup-config command to save the resource allocation. Log into the nondefault VDC and save the configuration or use the copy running-config startup-config vdc-all command in the default VDC to save the configuration in all VDCs.
Then as mentioned you can copy for all VDCs to tftp
Nexus7010# copy run start vdc-all
Nexus7010# copy start tftp:1.1.1.1 vdc-all
Sent from Cisco Technical Support iPhone App
04-10-2013 10:12 PM
Hi Kannan,
Nexus7010# copy running-config tftp:1.1.1.1 vdc-all
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the tftp server:
Copies the running configuration for all the VDCs with vrf default else you can configure the vrf name of which you want to take the backup.
Regards
Inayath
04-10-2013 10:18 PM
Thanks
When I copy , it's showing two option which one i have to choose for whole config backup
"copy running-config startup-config" (or) "copy running-config startup-config vdc-all "
Please advise
04-10-2013 10:21 PM
04-11-2013 12:05 AM
Hi,
I would like to know about nexus 5K & 1k also.
Can you please explain?
04-11-2013 12:30 AM
Cisco NX-OS can segment operating system and hardware resources into virtual device contexts (VDC) that emulate virtual devices. The Cisco Nexus 5000 Series switch does not support multiple VDCs. All switch resources are managed in the default VDC.
So you would use the normal like this:
Nexus5K# copy startup-config tftp:x.x.x.x
I don't know if the Nexus1KV supports VDC's but you could try these:
Nexus1KV# copy startup-config tftp:x.x.x.x
or
Nexus1KV# copy startup-config tftp:x.x.x.x vdc-all
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-11-2013 12:45 AM
HI Kannan,
I dont have Nexux 1K box as of now but looking at the config guide the cmd is same.
HTH
Regards
Inayath
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