4.9 TFTP/FTP Flashcards
Summarize the capabilities and functions of TFTP/FTP in the network. (23 cards)
What are the two main protocols for file transfer?
- File Transfer Protocol (FTP)
- Trivial File Transfer Protocol (TFTP)
FTP: Reliable, connection-oriented, supports authentication and error handling.
TFTP: Simple, connectionless, used for quick transfers like network booting and firmware updates.
What is the main purpose of FTP and TFTP?
To copy files to and from a server using a client-server model.
FTP and TFTP allow for file transfers over networks, but TFTP is mainly used for network device booting.
Which protocol transfers files via UDP without authentication?
Trivial File Transfer Protocol
(TFTP)
TFTP is designed for simplicity and efficiency, making it suitable for network booting. Unlike FTP, it lacks authentication and security features.
What is the primary purpose of FTP?
To serve as a core Internet protocol for file transfer.
FTP allows users to upload, download, and manage files over a network using TCP (Transmission Control Protocol).
List two key differences between FTP and TFTP.
- FTP supports authentication; TFTP does not.
- TFTP is lightweight and uses UDP, whereas FTP is feature-rich and uses TCP.
While both protocols facilitate file transfers, FTP is more feature-rich and requires authentication, whereas TFTP is simpler and more lightweight.
In FTP, what is the purpose of a control connection?
To exchange FTP commands
The control connection is essential for command transmission, while a separate data connection is used for file transfers.
What are the two modes of FTP operation?
- Active Mode
- Passive Mode
Active Mode – The client opens a port and listens while the server connects back using port 20 for data transfer.
Passive Mode – The server opens a port, and the client initiates both the control and data connections.
Which commands store FTP credentials for IOS transfers?
- ip ftp username
- ip ftp password
These commands save the FTP username and password, allowing for seamless file transfers without repeated authentication prompts.
What is a significant characteristic of TFTP?
It does not require authentication or security.
TFTP is primarily used for network booting and is less complex compared to FTP, which requires authentication.
Why is TFTP not suitable for transferring large files?
- Uses UDP, which lacks error correction and reliability.
- No authentication, making it insecure for sensitive data.
- Limited command set, supporting only basic file transfer operations.
TFTP is optimized for speed and simplicity but is unreliable for transferring large or critical files compared to FTP.
List three functions that can be performed using FTP.
- Transfer files
- Add directories
- List files
FTP allows users to interact with a file system over a network but does not permit file execution or ownership changes.
True or False:
FTP encrypts data transmissions, making it a secure file transfer method.
False
Standard FTP does not encrypt usernames, passwords, or transferred files.
Which protocols are commonly used for IOS file transfers?
- TFTP
- FTP
- SCP
TFTP: Simple, uses UDP, no authentication.
FTP: Reliable, uses TCP, supports authentication.
SCP: Secure, encrypts data via SSH.
What network booting process commonly uses TFTP?
PXE
(Preboot Execution Environment)
PXE allows computers to boot from a network server instead of a local disk. TFTP is used to download the boot image from a PXE server.
Fill in the blank:
The default port used by FTP for control connections is ______.
21
FTP uses port 21 for command communication, while data transfers may use ports 20 (active mode) or a dynamic port (passive mode).
What type of model does FTP use for file transfer?
Client/server model
FTP follows the client/server model, where the client initiates connections and the server handles requests.
True or False:
‘copy tftp flash’ copies an IOS image from a TFTP server to the device.
True
This command is frequently used to upgrade Cisco IOS images using a TFTP server.
What are the commands used in FTP for file transfer?
- GET (client retrieves a file from the server)
- PUT (client sends a file to the server)
These commands are used in FTP to facilitate file transfers.
What two alternatives to FTP can be used for encrypted file transfers?
- SFTP (SSH File Transfer Protocol)
- FTPS (FTP Secure)
SFTP (SSH File Transfer Protocol) – Uses SSH for secure authentication and encryption.
FTPS (FTP Secure) – Uses SSL/TLS to encrypt FTP data transmissions.
What are the two common FTP authentication types?
- Anonymous FTP
- Authenticated FTP
Anonymous FTP – Allows users to access public files without credentials.
Authenticated FTP – Requires a username and password for access control.
What is the purpose of the ‘copy ftp’ command in IOS?
To copy files from an FTP server to the router’s flash memory.
This command is essential for updating IOS images or transferring configuration files in Cisco devices.
How can you avoid being prompted for FTP credentials in the copy command?
By configuring the FTP username and password on the router.
This allows automatic authentication for file transfers without needing to manually enter credentials each time.
What does the command ‘copy ftp flash’ do?
It copies a file from an FTP server to the router’s flash memory.
This command is commonly used to install new IOS images or restore backups.