TRIVIAL FILE TRANSFER PROTOCOLS DAEMON (TFTPD)
Features:
1. Fast, connectionless (UDP), file transfers
2. Often used to move files to and fro networked systems (VOIP Phones,
PXE configurations, Router/Firewall/Switch configurations, etc.)
Note: Implemented as 2 components:
•Client - tftp-*rpm
•Server - tftp-server*
Tasks:
1. Install TFTP client
•yum -y install tftp
2. Install TFTP server
•yum -y install tftp-server
Note: this also install 'xinetd' dependency
3. Configure and start 'tftp' via 'xinetd'
•/etc/xinetd.d/tftp - modify this file prior to starting 'TFTPD'
•service xinetd start - to start XINETD
Note:
•TFTPD listens to UDP:69, by default
•use 'netstat -nulp | grep 69' to check if 'xinetd' is listening
4. Copy Cisco Router configuration to TFTP server
•copy running-config tftp://192.168.75.199
•setsebool -P tftpd_disable_trans=1 - disables SELinux for TFTPD
•'service xinetd restart' - restart XINETD
•'chmod 666 linuxcbtrouter1.config' - to permit TFTPD to write
5. Use 'tftp' client to download 'linuxcbtrouter1.config' file
•tftp 192.168.75.199 -c get linuxcbtrouter1.config
•tftp - enters interactive mode
Note: tftp client operates in both non-interactive and interactive modes
No comments:
Post a Comment