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
Command
Value/Default value
Action
passwords aging
age
age: (0 .. 365)/0 days
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.
no password aging
Restore the default value.
passwords complexity
enable
-/disabled
Enable field format restriction.
passwords complexity min-
classes
value
value: (0..4)/3
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
value: (0..64)/8
Enable minimum password length restriction.
no passwords complexity
min-length
Restore the default value.
passwords complexity no-
repeat
number
number: (0 ..16)/3
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
-/enabled
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
-/enabled
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
Command
Action
show passwords
configuration
Show information on password restriction.