08-11-2023 11:43 AM
I have several 3560CX switches running only IPv6 for management of the switch. When doing a copy running-config to tftp://IPv6_address the procedure works correctly. When doing a copy running-config to tftp://tftp_server_DNS_name the procedure fails with a "socket error". This process works correctly on a switch running IPv4 only.
switch1#debug tftp events
switch1#debug tftp packets
\/\/ This is broken \/\/
switch1#copy running-config tftp://tftp-server
Address or name of remote host [tftp-server?
Destination filename [switch1-confg]?
%Error opening tftp://tftp-server/switch1-confg (Socket error)
switch1#
\/\/ This works \/\/
switch1#copy running-config tftp://FD00::f0:0:141:100
Address or name of remote host [FD00::f0:0:141:100]?
Destination filename [switch1-confg]?
!!
9081 bytes copied in 0.378 secs (24024 bytes/sec)
switch1#
Aug 11 13:23:55: TFTP: Sending write request (retry 0), len 22, optlen 0, socket_id 0xD045AF4 len 22
1E68F8B0: 00027377 69746368 312D636F ..switch1-co
1E68F8C0: 6E666700 6F637465 74009E nfg.octet..
Aug 11 13:23:55: TFTP: Received ACK for block 0, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 1 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 1, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 2 (retry 0), len 512
switch1#, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 2, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 3 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 3, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 4 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 4, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 5 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK fo
switch1#r block 5, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 6 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 6, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 7 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 7, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 8 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 8, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sendin
switch1#g block 9 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 9, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 10 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 10, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 11 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 11, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 12 (retry 0), len 512, socket_id 0xD045AF4
Aug 1
switch1#1 13:23:55: TFTP: Received ACK for block 12, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 13 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 13, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 14 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 14, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 15 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 15, socket_id
switch1#0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 16 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 16, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 17 (retry 0), len 512, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 17, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Sending block 18 (retry 0), len 377, socket_id 0xD045AF4
Aug 11 13:23:55: TFTP: Received ACK for block 18, socket_id 0xD045AF4
switch1#
Anyone have any ideas?
08-11-2023 10:40 PM
- Check logs on the switch , also check the tftp server's logs in case of the socket error (verify it it was contacted or not) ; also consider using https://software.cisco.com/download/home/286278421/type/280805680/release/15.2.7E7 , (latest advisory) , if applicable and try again ,
M.
08-11-2023 10:51 PM
@glbrown seems like your tftp server have some issue. check the tftp service is functioning properly.
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