FTP & TFTP Flashcards
What two kinds of connection are used in FTP?
Control
Data
Does FTP use authentication?
Yes (username/PW)
Configure the FTP password of the device:
R1(config)# […]
ip ftp password password
Configure the FTP username of the device:
R1(config)# […]
ip ftp username username
Copy a file from an FTP server to the router’s flash:
R1# […]
copy ftp: flash:
Copy a file from a TFTP server to the router’s flash:
R1# […]
copy tftp: flash:
Specify the OS file the device should use when next time it boots:
R1(config)# […]
boot system filepath
Display the file systems of the device:
R1# […]
show file systems
Display the contents of flash memory:
R1# […]
show flash
The […] file system type represents external file systems, for example FTP/TFTP servers.
network
The […] file system type is used for the device’s internal NVRAM.
nvram
The […] file system type represents logical systems used for internal functions.
opaque
The […] file system type is used for storage devices such as flash memory.
disk
In FTP passive mode, the […] initiates the data connection.
client
In FTP […] mode, the client initiates the data connection.
passive
In FTP active mode, the […] initiates the data connection.
server
In FTP […] mode, the server initiates the data connection.
active
TFTP servers listen on […] port 69.
UDP
FTP data connections use TCP port […].
20
FTP data connections use […] port 20.
TCP
FTP […] connections use TCP port 20.
data
FTP control connections use TCP port […].
21
FTP control connections use […] port 21.
TCP
FTP […] connections use TCP port 21.
control