4 ftp-server enable, 5 ftp-server timeout, 6 ip ftp – PLANET XGS3-24040 User Manual

Page 85

Advertising
background image

XGS3 Command Guide

1-85

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:

Advertising