login authentication max-password-repeated-chars

Last Updated : Nov 09, 2021 |

Sets the maximum number of consecutive repeated characters in a password (default 2).

Syntax

login authentication max-password-repeated-chars <n-chars>

no login authentication max-password-repeated-chars

Parameters

Parameter

Description

Possible Values

Default Value

<n-chars>

Maximum number of repeated characters in passwords

2

User level

admin

Context

general

Example

To set the maximum number of consecutive repeated characters in a password to 3:

Gxxx-001(super)# login authentication max-password-repeated-chars 3

To return to default:

Gxxx-001(super)# no login authentication max-password-repeated-chars