4.9 TFTP/FTP Flashcards

Summarize the capabilities and functions of TFTP/FTP in the network. (23 cards)

1
Q

What are the two main protocols for file transfer?

A
  1. File Transfer Protocol (FTP)
  2. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the main purpose of FTP and TFTP?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which protocol transfers files via UDP without authentication?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the primary purpose of FTP?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

List two key differences between FTP and TFTP.

A
  1. FTP supports authentication; TFTP does not.
  2. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In FTP, what is the purpose of a control connection?

A

To exchange FTP commands

The control connection is essential for command transmission, while a separate data connection is used for file transfers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two modes of FTP operation?

A
  1. Active Mode
  2. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which commands store FTP credentials for IOS transfers?

A
  1. ip ftp username
  2. ip ftp password

These commands save the FTP username and password, allowing for seamless file transfers without repeated authentication prompts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a significant characteristic of TFTP?

A

It does not require authentication or security.

TFTP is primarily used for network booting and is less complex compared to FTP, which requires authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why is TFTP not suitable for transferring large files?

A
  1. Uses UDP, which lacks error correction and reliability.
  2. No authentication, making it insecure for sensitive data.
  3. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List three functions that can be performed using FTP.

A
  1. Transfer files
  2. Add directories
  3. List files

FTP allows users to interact with a file system over a network but does not permit file execution or ownership changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False:

FTP encrypts data transmissions, making it a secure file transfer method.

A

False

Standard FTP does not encrypt usernames, passwords, or transferred files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which protocols are commonly used for IOS file transfers?

A
  • TFTP
  • FTP
  • SCP

TFTP: Simple, uses UDP, no authentication.

FTP: Reliable, uses TCP, supports authentication.

SCP: Secure, encrypts data via SSH.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What network booting process commonly uses TFTP?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the blank:

The default port used by FTP for control connections is ______.

A

21

FTP uses port 21 for command communication, while data transfers may use ports 20 (active mode) or a dynamic port (passive mode).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What type of model does FTP use for file transfer?

A

Client/server model

FTP follows the client/server model, where the client initiates connections and the server handles requests.

17
Q

True or False:

copy tftp flash’ copies an IOS image from a TFTP server to the device.

A

True

This command is frequently used to upgrade Cisco IOS images using a TFTP server.

18
Q

What are the commands used in FTP for file transfer?

A
  • 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.

19
Q

What two alternatives to FTP can be used for encrypted file transfers?

A
  1. SFTP (SSH File Transfer Protocol)
  2. 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.

20
Q

What are the two common FTP authentication types?

A
  1. Anonymous FTP
  2. Authenticated FTP

Anonymous FTP – Allows users to access public files without credentials.

Authenticated FTP – Requires a username and password for access control.

21
Q

What is the purpose of the ‘copy ftp’ command in IOS?

A

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.

22
Q

How can you avoid being prompted for FTP credentials in the copy command?

A

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.

23
Q

What does the command ‘copy ftp flash’ do?

A

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.