52 MES1000, MES2000 Ethernet Switches
5.7 Commands for configuration of password parameters
This set of commands is designed for minimum password complexity and duration configuration.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.19 —System management commands in global configuration mode
Define password duration. When this period expires, you will
be asked to change the password. Zero value '0' means that
the password duration is not set.
Restore the default value.
passwords complexity
enable
Enable field format restriction.
passwords complexity min-
classes value
Enable the restriction for the minimum quantity of character
classes (lowercase, uppercase, numbers, symbols).
no passwords complexity
min-classes
Restore the default value.
passwords complexity min-
length value
Enable minimum password length restriction.
no passwords complexity
min-length
Restore the default value.
passwords complexity no-
repeat number
Enable the restriction for the minimum quantity of identical
consecutive characters in a new password.
no password complexity
no-repeat
Restore the default value.
passwords complexity not-
current
Deny to use the old password, when the password is changed.
no passwords complexity
not-current
Allow to use the old password, when the password is changed.
passwords complexity not-
username
Deny to use username as a password.
no passwords complexity
not-username
Allow to use username as a password.
Table 5.20 —System management commands in Privileged EXEC mode
show passwords
configuration
Show information on password restriction.