The default is the internal ash directory.
• Specify a user name for all FTP users and congure either a plain text or encrypted password.
CONFIGURATION mode
ftp-server username username password [encryption-type] password
Congure 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 congured ftp-server topdir.
To view the FTP conguration, use the show running-config ftp command in EXEC privilege mode.
Conguring FTP Client Parameters
To congure FTP client parameters, use the following commands.
• Enter the following keywords and the interface information:
• For a 1-GigabitEthernet interface, enter the keyword GigabitEthernet then the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port information.
• For a Loopback interface, enter the keyword loopback then a number from 0 to 16383.
• For a port channel interface, enter the keywords port-channel then a number.
• For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
CONFIGURATION mode
ip ftp source-interface interface
• Congure a password.
CONFIGURATION mode
ip ftp password password
• Enter a username to use on the FTP client.
CONFIGURATION mode
ip ftp username name
To view the FTP conguration, use the show running-config ftp command in EXEC privilege mode, as shown in the example for
Enable FTP Server.
Terminal Lines
You can access the system remotely and restrict access to the system by creating user proles.
Terminal lines on the system provide dierent means of accessing the system. The console line (console) connects you through the console
port in the route processor modules (RPMs). The virtual terminal lines (VTYs) connect you through Telnet to the system. The auxiliary line
(aux) connects secondary devices such as modems.
78
Management