Working With TFTP.

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

Cisco S2 C7 Router Operation System IOS. Routers Boot From Flash memory TFTP server ROM (not full Cisco IOS software) –Default depends on platform –Order.
Netprog: daemons and inetd1 Daemons & inetd Refs: Chapter 13.
Information Networking Security and Assurance Lab National Chung Cheng University Guidelines on Electronic Mail Security
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 21 File Transfer: FTP and.
NOC TOOLS syslog AfNOG Cairo, SI-E, 2 of 5 Sunday Folayan.
Sybex CCNA Chapter 7: Managing a Cisco Internetwork Instructor & Todd Lammle.
1 © 2002, Cisco Systems, Inc. All rights reserved. Router boot procedure.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
© 2004 Cisco Systems, Inc. All rights reserved. Managing Your Network Environment Managing Router Startup and Configuration INTRO v2.0—9-1.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software.
Mail Server Setup MAIL SERVER SETUP.
Implementing POP3 and IMAP4 Using Dovecot
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
1 Pertemuan 6 Finishing the Configuration. Discussion Topics Importance of configuration standards Interface descriptions Configuring interface description.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Linux Security. See who's logged in 1) w (more information) 2) who (less information)
CCNA2 v3 Module 5 v3 CCNA 2 Module 5 JEOPARDY K. Martin.
Sources of Cisco IOS Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Sybex CCNA Chapter 4: Cisco’s IOS and SDM Instructor & Todd Lammle.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 5 Managing Cisco IOS Software.
FTP File Transfer Protocol Graeme Strachan. Agenda  An Overview  A Demonstration  An Activity.
Daemons Ying Zhang CMSC691X, Summer02. Outline  Introduction  Init and Cron  System daemons  Print daemons and NFS daemons  Time synchronization.
Unix network Services. Configuring a network interface In Unix there are essentially two commands that are used to enable TCP/IP. ifconfig route.
IOS Internetwork Operating System. IOS modes and ROM monitor Router>EXEC mode Router#Priviledge mode Router(config)#Global config m Router(config-if)#Interface.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 Version 3.1 Module 5 Managing Cisco IOS Software.
Working With TFTP. Basics of TFTP  Simple file transfer protocol  Wikipedia:   RFC 1350.
IOS Boot Procedure Can be set in Global Config –Router(config)#boot system flash If not in NVRAM as to where to get IOS, default is Flash If not in Flash,
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
PRESENTED BY ALI NASIR BITF13M040 AMMAR HAIDER BITF13M016 SHOIAB BAJWA BITF13M040 AKHTAR YOUNAS BITF13M019.
Apache with SSL building from source Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
Managing a Cisco Devices Internetwork
Chapter 7: Transport Layer
Apache with SSL building from source
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 9 Router Configuration (Ospf, Rip) Webmin, usermin Team viewer
Semester 2 5/6 JEOPARDY CHAPTERS 5 & 6 REVIEW S2C06 Jeopardy Review.
Router Startup and Setup
Cisco S2 C5 Router Startup.
LINUX ADMINISTRATION 1
CHAPTER 7.
Instructor & Todd Lammle
Working With TFTP Nishal Goburdhan.
Chapter 21 File Transfer: FTP and TFTP
Working With TFTP.
Automating FreeBSD Installations Randi Harper
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Cisco networking CNET-448
Chapter 10: Device Discovery, Management, and Maintenance
Configuring a Router Module 3 Semester 2.
Instructor & Todd Lammle
Instructor & Todd Lammle
Router Startup and Setup
Daemons & inetd Refs: Chapter 12.
Lecture9: Embedded Network Operating System: cisco IOS
Module 3 Configuring a Router.
Managing Cisco IOS Software
File Transfer: FTP and TFTP
CCNA 2 2 Double JEOPARDY Midterm REVIEW S2C06 Jeopardy Review.
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Working With TFTP

Basics of TFTP Simple UDP based file transfer protocol Wikipedia: http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol RFC 1350 (all of this means it’s quick and dirty…)

Enabling TFTP in FreeBSD Most modern UNIX based systems have a built-in tftp server. In the case of FreeBSD which we are using in the class the easiest way to activate the inbuilt tftp server is to enable and run (re)start the service called inetd (which in turn controls the tftp service) First: make sure inetd is set to start so: # vi /etc/rc.conf Add the line (if it doesn’t exist) that says: # inetd_enable=“YES” This will make sure that the service restarts if your server is rebooted.

Enabling TFTP in FreeBSD Find, and uncomment the appropriate line in /etc/inetd.conf # vi /etc/inetd.conf In FreeBSD you will find two lines; one starting with UDP and the next with UDP6. That simply means that you can choose to have the service listening on just IPv4 or IPv6. Please uncomment both! (re)Start inetd, enabling the TFTP daemon # /etc/rc.d/inetd start Check that TFTP is actually running. # netstat –an | grep “*.69”

BE AWARE THAT THIS IS DANGEROUS ! Enabling TFTP in FreeBSD Create a directory for tftp to operate with # mkdir /tftpboot If you're going to write to a config file, the file needs to exist, and you need to have write permission to it; 'touch' will create the file for you # touch /tftpboot/sie-config Now, you need to allow world-write permission to the file you've created above: # chmod 666 /tftpboot/sie-config BE AWARE THAT THIS IS DANGEROUS !

Directory Structure TFTPd will use the base directory that you specified in inetd.conf to store your files. In most cases that is /tftpboot/. If you are in doubt, check the inetd.conf file that you edited earlier. When you reference this by reading/writing to tftp, you do not need to specify the base directory (on the tftp client) when asked for the destination.

Using TFTP to manage your router router# copy start tftp router# copy tftp start router# copy flash tftp router# copy tftp flash router# copy run tftp

Using TFTP to manage your router router# copy start tftp Copies your startup configuration to the tftp server. This is typically what you will use to backup your (router) saved configuration to an external tftp server. router# copy tftp start Copies your configuration from a tftp server, to your router’s startup configuration. Useful for restoring configuration from an external backup.

Using TFTP to manage your router When would you use the following: router# copy flash tftp router# copy tftp flash router# copy run tftp

Things to remember Keep your server secure! Your TFTP server will typically have stored router configs and IOS images. Therefore it's important that you restrict access to your server. Setup integrity checking (even simple md5) For large file transfers, consider using SCP/RCP for more reliable transport.