mac
71
―Switch‖, the password is ―superuser‖.
Switch#ftp-dir ftp://Switch:superuser @10.1.1.1.
1.5.4 ftp-server enable
Command: ftp-server enable
no ftp-server enable
Function: Start FTP server, the ―no ftp-server enable‖ command shuts down FTP server
and prevents FTP user from logging in.
Default: FTP server is not started by default.
Command mode: Global Mode
Usage Guide: When FTP server function is enabled, the switch can still perform ftp client
functions. FTP server is not started by default.
Example: Enable FTP server service.
Switch#config
Switch(config)# ftp-server enable
Relative command: ip ftp
1.5.5 ftp-server timeout
Command: ftp-server timeout <seconds>
Function: Set data connection idle time.
Parameter: <seconds> is the idle time threshold (in seconds) for FTP connection, the
valid range is 5 to 3600.
Default: The system default is 600 seconds.
Command mode: Global Mode
Usage Guide: When FTP data connection idle time exceeds this limit, the FTP
management connection will be disconnected.
Example: Modify the idle threshold to 100 seconds.
Switch#config
Switch(config)#ftp-server timeout 100
1.5.6 ip ftp
Command: ip ftp username <username> password [0 | 7] <password>
no ip ftp username <username>
Function: Configure the username and password for logging in to the FTP; the no
operation of this command will delete the configured username and password










