cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16325
Views
19
Helpful
11
Replies

Nexus Switches Config Backup Help

kannan.kannan
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

11 Replies 11

InayathUlla Sharieff
Cisco Employee
Cisco Employee

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:

http://www.cisco.com/en/US/docs/switches/datacenter/sw/nx-os/virtual_device_context/configuration/guide/vdc_mgmt.html#wp1186733

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.

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

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

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

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


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

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

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

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

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.

Hi,

I would like to know about nexus 5K & 1k also.

Can you please explain?

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.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

HI Kannan,

I dont have Nexux 1K box as of now but looking at the config guide the cmd is same.

http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0/interface/configuration/guide/if_5portchannel.html

HTH

Regards

Inayath