Use this command to create a new user login account, or to disable or enable an existing account. The S- K- and 7100-Series devices supports up to 32 user accounts, including the admin account, which cannot be disabled or deleted.
username | Specifies a login name for a new or existing user. This string can be a maximum of 80 characters, although a maximum of 16 characters is recommended for proper viewing in the show system login display. |
read-write | read-only | super-user | Specifies the access privileges for this user. |
enable | disable | Enables or disables the user account. The default admin (su) account cannot be disabled. |
password password | (Optional) Specifies the encrypted password for this user account. This option is intended only for use in configurations generated by the show config command. |
password aging days | disable | system | (Optional) Specifies password aging setting as:
|
allowed-interval HH:MM HH:MM | (Optional) Specifies the start and end hour HH and minute MM time period for which access will be allowed for this user based upon 24 hour time. |
allowed-days | (Optional) Specifies at least 1 and up to 7 days of the week for which access will be allowed for this user. |
simultaneous-logins num | (Optional) Specifies the Number of simultaneous sessions allowed for the specified user account. Valid values are 0 - 5. Default value is 0 (no limit). |
local-only | (Optional) Specifies the authentication scope for this user. Valid values: yes, no. yes specifies that authentication is only by way of the local user database even with RADIUS or TACACS+ configured. no specifies that authentication is by way of configured methods. |
All command modes, Super User.
Allowed interval and allowed days may be configured on any user account but are not enforced on super-user accounts.
This example shows how to enable a new user account with the login name netops with super user access privileges:
System(su)->set system login netops super-user enable