cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1061
Views
0
Helpful
5
Replies

How to copy the configuration of a Cisco N3K-c3048tp-1ge VER01 to another Cisco N3K switch.

EduardoRuiz
Level 1
Level 1

Hi, I have a Cisco N3K C3048 switch that is currently running in place and would like to export its configuration and imported into another (same model) C3048 to have it as a backup. Is there a special way to do this? I normally use TFTPd64 and putty to export and import configuration files on other Cisco switches,  but for some reason on this model I'm having a hard time. 

I normally use these commands

copy running-config tftp:

enter the IP address of the computer currently connected to the switch via the console

Done, the configuration transfers to the pc.

 

When trying to do this on this switch I'm getting this message.- see attached image.

Also when I try to see the IP address of the switch I'm getting the message Ip interface Status for VRF default. I have never seen this message.

 

Can you assist me with this?

Thanks in advance.

 

 

 

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

127.0.0.1 Link-Local Loopback address.

 

If you click the same where you see the server interface, in the pull-down you can see the IP address, so you need to use that IP address.

 

you can use example guide :

 

https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/upgrade-cisco-ios-image

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

The address of 127.0.0.1 is a loopback address. I am not sure why that address shows up on the display from the server. But trying to use that as the address for the tftp copy from the switch can not work. Find the IP address that the tftp server is using and use that IP in the copy command on the switch.

HTH

Rick

Thanks,

I made the changes and per the link you provide me. I used this command;

copy tftp://192.168.5.155/configbu.cfg running-config > pressed enter

I received this message after pressing enter in the above command " Enter vrf (if no input, current vrf default is considered.

- the server tries to connect but fails with message: tftp get operation failed. No route to host. - see attached image.

 

FYI, I have an ethernet cable connected to the switch in the MGMT port and from the host(a laptop) I can ping the IP of the switch.

 

Let's start with simple steps :

 

1. Make sure you able to ping the TFTP Server from the device you copy

2. #ping 192.168.5.155 - is this ping OK  success - move to next step, if not fix the connectivity between PC and Device.

3. Once ping success -  copy tftp://192.168.5.155/configbu.cfg flash:running-config

 

Note  I see this is nexus device ? then if you connecting using Management port you need to use VRF Management and bootflash:

 

show vrf can give you information.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

EduardoRuiz
Level 1
Level 1

I believe I figured it out. This is what I did;

 

NexusSwitch# conf t
NexusSwitch(config)# vrf context management
ip route 0.0.0.0/0 192.168.5.1

NexusSwitch(config-vrf)# copy running-config tftp:
Enter destination filename: [NexusSwitch-running-config]
Enter vrf (If no input, current vrf 'default' is considered): management
Enter hostname for the tftp server: 192.168.5.155
Trying to connect to tftp server......
Connection to Server Established.
TFTP put operation was successful
Copy complete, now saving to disk (please wait)...
NexusThree(config-vrf)#

 

Is this fine? I'm testing this on a switch that is not in production. If I run these commands to export the configuration from a switch currently in production, will it disrupt the service or make changes that could affect the network? 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card