The ftp server ip-block failed-times command sets the maximum number of consecutive FTP authentication failures within a specified period. If the number is reached, the system locks out the IP address of user.
The undo ftp server ip-block failed-times command restores the maximum number of consecutive FTP authentication failures and the period in which consecutive authentication failures are counted to default values.
By default, the maximum number of consecutive FTP authentication failures before the IP address of user lockout is 6, and the period is 5 minutes.
Parameter | Description | Value |
---|---|---|
failed-times |
Specifies the maximum number of consecutive FTP authentication failures before the IP address of user lockout. |
The value is an integer ranging from 1 to 10. |
period period |
Specifies a period in which consecutive FTP authentication failures are counted. |
The value is an integer ranging from 1 to 120, in minutes. |
To set the maximum number of consecutive authentication failures within
a specified period, run the ftp server ip-block failed-times command.
If the number is reached, the system locks out the IP address of user, which prevents the user from accessing the device through FTP. The system automatically unlocks the IP address of user until the unlocking period expires. This improves device security.
To manually unlock the IP address of user, run the activate ftp server ip-block ip-address command.