07-01-2021 01:14 PM
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.
07-01-2021 01:44 PM
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
07-01-2021 02:13 PM
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.
07-01-2021 02:26 PM
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.
07-01-2021 03:03 PM - edited 07-01-2021 03:07 PM
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.
07-01-2021 03:57 PM
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?
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