The ftp server max-sessions command configures the maximum number of clients that can be connected to the server at any point of time for FTP service.
The undo ftp server max-sessions command restores the default maximum number of clients that can be connected to the server aty any point of time for FTP service.
By default, the maximum number of clients that can be connected to the FTP server is 15.
You can use this command to configure the maximum number of FTP clients that can be connected to the server at any point of time for FTP service, and it takes effect for both IPv4 and IPv6 connections. If the configured max-sessions value is less than or equal to the number of current connections, then the current connection is not disconnected and the server does not accept any new connection.