September 6, 201213 yr One of the easiest ways to copy files from a Cisco IOS switch you don't have the ability to make changes on is to send files using TFTP. Here is how you get TFTP Server installed, up and running on your reliable Ubuntu Server. sudo apt-get install xinetd tftpd tftpsudo nano /etc/xinetd.d/tftp ADD to this new file:service tftp{protocol = udpport = 69socket_type = dgramwait = yesuser = nobodyserver = /usr/sbin/in.tftpdserver_args = /tftpbootdisable = no} CREATE directory sudo mkdir /tftpbootsudo chmod -R 777 /tftpbootsudo chown -R nobody /tftpboot[/code]ADD to startup sudo /etc/init.d/xinetd start
September 6, 201213 yr Author This is how I copy Cisco IOS images to the TFTP server copy flash: tftp: c2500-ik8s-l.122-5.bin (name of image file to backup) 10.6.56.244 (IP address of remote TFTP server) c2500-ik8s-l.122-5.bin (name of image file to use on TFTP server)
September 6, 201213 yr Author Having issues with xinetd TFTP Server. Here are some options and note if you uninstall one, you have to reboot your server before installing the other since Ubuntu locks the TFTP UDP port 69 and I found that a reboot of the server is the only way to get it to release.
Create an account or sign in to comment