6 ip ftp – PLANET WGSW-50040 User Manual

Page 71

Advertising
background image

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

Parameters:

<username> is the username of the FTP link, no longer than 16 characters;

0 | 7 represent displaying the password in ciphertext or plaintext;

<password> is the password of the FTP link, no longer than 16 characters.

Default Settings:

the system uses anonymous FTP links by default.

Command Mode:

Global Configuration Mode.

Examples:

Configure the username as Switch and the password as superuser.

Advertising