Example of Viewing FTP Configuration
Dell#show running ftp
!
ftp-server enable
ftp-server username nairobi password 0 zanzibar
Dell#
Configuring FTP Server Parameters
After you enable the FTP server on the system, you can configure different parameters.
To specify the system logging settings, use the following commands.
•
Specify the directory for users using FTP to reach the system.
CONFIGURATION mode
ftp-server topdir dir
The default is the internal flash directory.
•
Specify a user name for all FTP users and configure either a plain text or encrypted password.
CONFIGURATION mode
ftp-server username username password [encryption-type] password
Configure the following optional and required parameters:
•
username: enter a text string.
•
encryption-type: enter 0 for plain text or 7 for encrypted text.
•
password: enter a text string.
NOTE:
You cannot use the change directory (cd) command until you have configured ftp-server
topdir.
To view the FTP configuration, use the show running-config ftp command in EXEC privilege mode.
Configuring FTP Client Parameters
To configure FTP client parameters, use the following commands.
•
Specify an FTP interface source.
CONFIGURATION mode
ip ftp source-interface interface
Enter the following keywords and slot/port or number information:
•
For a loopback interface, enter the keyword loopback then a number between 0 and 16383.
•
For a port channel interface, enter the keywords port-channel then a number from 1 to 255.
•
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port
information.
Switch Management
82