Command Reference Guide

User Account Commands
CLI Command Reference
September 2014 Page 88
HP Moonshot Switch Module CLI Command Reference
passwords min-length
Use this command to enforce a minimum password length for local users. The value also applies to the enable
password. The valid range is 8-64.
no passwords min-length
Use this command to set the minimum password length to the default value.
passwords history
Use this command to set the number of previous passwords that shall be stored for each user account. When
a local user changes his or her password, the user will not be able to reuse any password stored in password
history. This ensures that users don’t reuse their passwords often. The valid range is 0-10.
no passwords history
Use this command to set the password history to the default value.
passwords aging
Use this command to implement aging on passwords for local users. When a users password expires, the user
will be prompted to change it before logging in again. The valid range is 1-365. The default is 0, or no aging.
no passwords aging
Use this command to set the password aging to the default value.
Default 8
Format
passwords min-length 8-64
Mode Global Config
Format
no passwords min-length
Mode Global Config
Default 0
Format
passwords history 0-10
Mode Global Config
Format
no passwords history
Mode Global Config
Default 0
Format
passwords aging 1-365
Mode Global Config
Format
no passwords aging
Mode Global Config