Creating a password policy, Restoring the default password policy, Displaying password attributes – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 268

1. In privileged EXEC mode, use the configure terminal command to enter global configuration
mode.
2. Enter the password-attributes command with the specified parameter.
switch# configure terminal
Entering configuration mode terminal
switch(config)# password-attributes max-retry 4
When a user account is locked, it can be unlocked using the procedure described in
on page 264.
Creating a password policy
The following example defines a password policy that places restrictions on minimum length and
enforces character restrictions and account lockout.
1. In privileged EXEC mode, use the configure terminal command to enter global configuration
mode.
2. Enter the password-attributes command with the specified parameters.
switch# configure terminal
Entering configuration mode terminal
switch(config)# password-attributes min-length 8 max-retry 4 character-
restriction lower 2 upper 1 numeric 1 special-char 1
Restoring the default password policy
Entering the no form of the password-attributes command resets all password attributes to their
default values. If you specify a specific attribute, only that attribute is reset to the default. If you enter
no password-attributes without operands, all password attributes are reset to their default values.
1. In privileged EXEC mode, use the configure terminal command to enter global configuration
mode.
2. Enter the password-attributes command with the specified parameters.
switch# configure terminal
Entering configuration mode terminal
switch(config)# no password-attributes min-length
switch(config)# password-attributes max-retry 4
switch(config)# no password-attributes numeric
Displaying password attributes
To display configured password attributes, switch to privileged EXEC mode and enter show running-
config password-attributes.
switch(config)# password-attributes max-retry 4
switch(config)# password-attributes character-restriction lower 2
switch(config)# password-attributes character-restriction upper 1 numeric 1 special-char 1
switch(config)# exit
switch# show running-config password-attributes
password-attributes max-retry 4
password-attributes character-restriction upper 1
password-attributes character-restriction lower 2
password-attributes character-restriction numeric 1
password-attributes character-restriction special-char 1
switch# configure terminal
switch(config)# no password-attributes character-restriction lower
switch(config)# no password-attributes character-restriction upper
switch(config)# exit
Creating a password policy
268
Network OS Administrator’s Guide
53-1003225-04