password

To set the maximum life time after which the password has to be expired or determine a password validation mask, use the password command in Global Configuration Mode.

password

password max-life-time { [<days (0-366)>] } { | validate } { char } { [lowercase] } { [uppercase] } { [numbers] } { [symbols] }

Parameters

Parameter Type Description
max-life-time   Enter to configure the time after which the user password has to expire.
<days (0-366)>   Enter expiry date in days. This value ranges from 0 to 366 days. The default value of password-max-life-time is 0 days, indicates the password does not expire.
validate String Enter to configure the type of characters to be considered for password validation rules; takes values as bitmask.
char String Enter to create password rules.
lowercase   Specify to configure the minimum number of lower case characters that are to be present in the password. If the given password has less than the configured number of lower case characters, it will not be allowed. This value ranges from 0 to 20. The default value is 1.
uppercase   Specify to configure the minimum number of upper case characters that are to be present in the password. If the given password has less than the configured number of upper case characters, it will not be allowed. This value ranges from 0 to 20. The default value is 1.
numbers   Specify to configure the minimum number of numbers that are to be present in the password. If the given password has less than the configured number of upper case characters, it will not be allowed. This value ranges from 0 to 20. The default value is 1.
symbols   Specify to configure the minimum number of symbols to be present in the password. If the given password has less than the configured number of numerical characters, it will not be allowed This value ranges from 0 to 20. The default value is 1. The list of supported symbols are as follows: !@#$%^&*()_+-:”;’{}[]|\~

Mode

Global Configuration Mode

Examples

iS5Comm(config)# password max-life-time 1

iS5Comm(config)# password validate lowercase 1

iS5Comm(config)# password validate uppercase 1

iS5Comm (config) # password validate numbers 1

iS5Comm (config) # password validate symbols 1