06-20-2005 06:34 PM - edited 03-02-2019 11:09 PM
Hi everyone,
I have encountered TFTP problem on Cat2948G.
There are two Cat2948Gs on same VLAN segment and both Cat2948Gs are operating same CatOS version 8.3(2)GLX.
In this situation, one of Cat2948G can upload its configuration file to TFTP server. This Cat2948G's hostname is SW130-4D31, and the file name that TFTP server restored to its dedicated directory is SW130-4D31-confg.
But another one can not upload its configuration file to TFTP server.
This Cat2948G's hostname is SW130-4D32, and the file name that TFTP restored to its dedicated directory is SW130-4D32-confg.
TFTP server is UNIX machine (SUN) and the content of directory that TFTP server restored those uploaded configuration file is as follows,
-rw-rw-rw- SW130-4D31-confg
-rw-rw-rw- SW130-4D32-confg
Both file already exist and have same permission (666).
The following output is the console message when "write net" and "copy config tftp" command executed on failed Cat2948G.
SW130-4D32> (enable) wr net
This command shows non-default configurations only.
Use 'write network all' to show both default and non-default
configurations.
IP address or name of remote host? [192.168.10.70]
Name of configuration file?[SW130-4D32-confg]
Upload configuration to SW130-4D32-confg on 192.168.10.70 (y/n) [n]? y
.................
.............................
..
TFTP connection fail(-2).
TFTP: Abnormal Termination
SW130-4D32> (enable) copy config tftp
This command uploads non-default configurations only.
Use 'copy config tftp all' to upload both default and non-default
configurations.
IP address or name of remote host [192.168.10.70]?
Name of file to copy to [SW130-4D32-confg]?
Upload configuration to tftp:SW130-4D32-confg, (y/n) [n]? y
.................
.............................
..
TFTP connection fail(-2).
Write file tftp:SW130-4D32-confg error (TFTP write error)
Cannot write buffer to file
Cannot copy from config: to tftp:SW130-4D32-confg
The result of both command indicates TFTP connection failed with error code (-2).
I have investigated CCO Bug Navigator, field notice and Release note, but I don't find any useful, related information to isolate or resolve this
problem.
If you have any useful information please let me know.
Your information would be very appreciated.
Thank you in advance
06-20-2005 07:39 PM
Can you ping to the server?
Is there any firewall/ACL blocking the tftp traffic to and from that specific switch?
Do you have multiple L3 interfaces with IP addresses on that switch? Can you ping from the TFTP server to all of these L3 interfaces?
One quick test is to plug a PC (Windows! make it as dummy as possible) into the same subnet of your TFTP server and run tftpd32 or Solarwind TFTP server or whatever you think it's a good TFTP server. Then try using this new server with the problematic switch.
06-20-2005 09:58 PM
Thank you very much for your advise.
The followings are the result of test.
ping from problematic Cat2948G to TFTP server was OK.
No any access filter or firewall which block TFTP traffic from
problematic Cat2948G exist.
TFTP between problematic Cat2948G and newly set up TFTP server
was failure, but returned error code was (-1) not (-2).
However TFTP between another Cisco device and newly set up TFTP
server was OK. So newly set up TFTP server worked fine.
The following message is the console log when executed TFTP
between problematic Cat2948G and newly set up TFTP server.
SW130-4D32> (enable) wr net
This command shows non-default configurations only.
Use 'write network all' to show both default and non-default configurations. IP address or name of remote host? [192.168.10.70] 192.168.10.29 Name of configuration file?[SW130-4D32-confg]
Upload configuration to SW130-4D32-confg on 192.168.10.29 (y/n) [n]? y .................
.............................
..
No response from host.
TFTP connection fail(-1).
TFTP: Abnormal Termination
SW130-4D32> (enable) wr net
This command shows non-default configurations only.
Use 'write network all' to show both default and non-default configurations. IP address or name of remote host? [192.168.10.29]
Name of configuration file?[SW130-4D32-confg]
Upload configuration to SW130-4D32-confg on 192.168.10.29 (y/n) [n]? y .................
.............................
..
No response from host.
TFTP connection fail(-1).
TFTP: Abnormal Termination
TFTP between problematic Cat2948G and TFTP server (SUN UNIX machine)
had succeeded in the past. And this problem has occurred suddenly.
Thank you in advance.
Best regards,
06-20-2005 11:17 PM
are you running the same CatOS version on both switches? Are there any changes applied to this problematic switch recently?
Did you try to reboot the switch and try tftp again?
06-21-2005 03:09 AM
Make sure you don't have any blank spaces in the name at the end , either in the switch or the tftp file that you created on the unix server . Try deleteing the file on the unix server and recreating it taking care to make sure that there is no blank spaces at the end of the file name .
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