# FTP Configuration Mode Commands

The FTP Configuration Mode is used to manage the FTP server options for the current context.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
max servers

Configures the maximum number of FTP servers that can be started within any 60 second interval. If this limit is reached, the system waits two minutes before trying to start any more servers.
Platform:

ASR 5000

ASR 5500
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    max servers count

count

Default: 40

Specifies the maximum number of servers that can be spawned in any 60-second interval. count must be an integer from 1 through 100.
Usage:

Set the number of servers to tune the system response as a heavily loaded system may need more servers to support the incoming requests.

The converse would be true as well in that a system can benefit by reducing the number of servers such that FTP services do not cause excessive system impact to other services.
Example:

    max servers 50

timeout

Configures the client idle timeout before an FTP session is automatically closed.
Platform:

ASR 5000

ASR 5500
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    timeout seconds

seconds

Default: 900

Specifies the number of seconds of inactivity before an FTP session is automatically closed. seconds must be an integer from 10 through 86400.
Usage:

Adjust the session timeout to fine tune the system. FTP session resources can be released sooner to support additional requests by adjusting the timeout to a smaller value.
Example:

    timeout 300