cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
7
Replies

TFTP to C3850G via Desktop

StarLog
Level 1
Level 1

The 3850 has had the following commands completed:

install remove inactive

Then going to the desktop hosting the Solarwinds TFTP server.
I was able to ping the switch from the desktop.
When I start the remove function, I get the following:

SUCCESS: No extra package or provisioning files found on media. Nothing to clean.
Then run the copy tftp: flash:

I get the following:
CHSW3_stack#copy tftp: flash:
Address or name of remote host []? 192.168.1.58
Source filename []? cat3k_caa-universalk9.16.12.12.SPA.bin
Destination filename [cat3k_caa-universalk9.16.12.12.SPA.bin]?
Accessing tftp://192.168.1.58/cat3k_caa-universalk9.16.12.12.SPA.bin...
%Error opening tftp://192.168.1.58/cat3k_caa-universalk9.16.12.12.SPA.bin (Timed out)

LOG FILE:

Nov 25 07:04:09 EST: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet4/0/12, changed state to up
Nov 25 07:19:05 EST: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: xxx] [Source: 192.168.1.58] [localport: 22] at 07:19:05 EST Mon Nov 25 2024
Nov 25 07:21:14 EST: %INSTALL-5-INSTALL_START_INFO: Switch 2 R0/0: install_engine: Started install remove
Nov 25 07:22:48 EST: %INSTALL-5-INSTALL_COMPLETED_INFO: Switch 2 R0/0: install_engine: Completed install remove
Nov 25 07:32:55 EST: %SYS-6-LOGOUT: User xxx has exited tty session 2(192.168.1.58)
Nov 25 07:42:52 EST: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet4/0/12, changed state to down
Nov 25 07:42:53 EST: %LINK-3-UPDOWN: Interface GigabitEthernet4/0/12, changed state to down
Nov 25 08:23:37 EST: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: xxx] [Source: 192.168.4.101] [localport: 22] at 08:23:37 EST Mon Nov 25 2024
Nov 25 08:39:18 EST: %SYS-6-LOGOUT: User xxx has exited tty session 2(192.168.4.101)
Nov 25 14:48:05 EST: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: xxx] [Source: 192.168.1.58] [localport: 22] at 14:48:05 EST Mon Nov 25 2024
Nov 25 14:48:36 EST: %INSTALL-5-INSTALL_START_INFO: Switch 2 R0/0: install_engine: Started install remove
Nov 25 14:49:00 EST: %LINK-3-UPDOWN: Interface GigabitEthernet4/0/8, changed state to up
Nov 25 14:49:01 EST: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet4/0/8, changed state to up
Nov 25 14:49:05 EST: %INSTALL-5-INSTALL_COMPLETED_INFO: Switch 2 R0/0: install_engine: Completed install remove
Nov 25 15:02:51 EST: %SYS-6-TTY_EXPIRE_TIMER: (exec timer expired, tty 2 (192.168.1.58)), user xxx
Nov 25 15:02:51 EST: %SYS-6-LOGOUT: User xxx has exited tty session 2(192.168.1.58)
Nov 25 15:05:40 EST: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: xxx] [Source: 192.168.1.58] [localport: 22] at 15:05:40 EST Mon Nov 25 2024
Nov 25 15:08:27 EST: %SYS-6-LOGOUT: User xxx has exited tty session 2(192.168.1.58)
Nov 25 15:09:35 EST: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: xxx] [Source: 192.168.1.58] [localport: 22] at 15:09:35 EST Mon Nov 25 2024
CHSW3_stack#

What am I missing?

7 Replies 7

@StarLog 

 The log is related to your SSH session not the TFTP. The  time out we see from the switch can be related to connectivity or permission on the TFTP server. 

Leo Laohoo
Hall of Fame
Hall of Fame
conf t
 ip tftp source-interface <SWITCH VLAN>
end
wr

Leo,

CH2NDFLRSW#ter len 0
CH2NDFLRSW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CH2NDFLRSW(config)#ip tftp source-interface vlan254
CH2NDFLRSW(config)#end
CH2NDFLRSW#wr
Building configuration...
[OK]

CH2NDFLRSW#copy tftp: flash:
Address or name of remote host []? 192.168.1.58
Source filename []? cat3k_caa-universalk9.16.12.12.SPA.bin
Destination filename [cat3k_caa-universalk9.16.12.12.SPA.bin]?
Accessing tftp://192.168.1.58/cat3k_caa-universalk9.16.12.12.SPA.bin...
%Error opening tftp://192.168.1.58/cat3k_caa-universalk9.16.12.12.SPA.bin (Timed out)
CH2NDFLRSW#

Can the switch ping 192,168.1.58? 

 


CHSW3_stack#ping 192.168.1.58
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.58, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
CHSW3_stack#

Is there anyway to perform manual tftp commands on the switch?

We decided to move the tftp server off my desktop and put on a real server.

All works fine now, thanks for the help.