Alcatel-Lucent 6850-48 参考指南
AAA Commands
OmniSwitch CLI Reference Guide
September 2009
page 58-45
user
Configures or modifies user entries in the local user database. Use the no form of the command to remove
the user from the local database.
the user from the local database.
user username [password password] [expiration {day | date}] [read-only | read-write [families... |
domains...| all | none]] [no snmp | no auth | sha | md5 | sha+des | md5+des] [end-user profile name]
domains...| all | none]] [no snmp | no auth | sha | md5 | sha+des | md5+des] [end-user profile name]
no user username
Syntax Definitions
username
The name of the user (maximum is 31 alphanumeric characters). Used
for logging into the switch. Required to create a new user entry or for
modifying a user.
for logging into the switch. Required to create a new user entry or for
modifying a user.
password
The user’s password in clear text or hexadecimal (corresponding to
encrypted form). Required to create a new user entry. The default mini-
mum length is 8 alphanumeric characters. The maximum is 47 charac-
ters.
encrypted form). Required to create a new user entry. The default mini-
mum length is 8 alphanumeric characters. The maximum is 47 charac-
ters.
day
The number of days before this user’s current password expires. The
range is 1 to 150 days.
range is 1 to 150 days.
date
The date (in the format mm/dd/yyyy hh:mm) that the user’s current pass-
word will expire.
word will expire.
read-only
Specifies that the user will have read-only access to the switch.
read-write
Specifies that the user will have read-write access to the switch.
families
Determines the command families available to the user on the switch.
Each command family should be separated by a space. Command fami-
lies are subsets of domains. See Usage Guidelines for more details.
Each command family should be separated by a space. Command fami-
lies are subsets of domains. See Usage Guidelines for more details.
domains
Determines the command domains available to the user on the switch.
Each domain should be separated by a space. See the Usage Guidelines
for more details.
Each domain should be separated by a space. See the Usage Guidelines
for more details.
all
Specifies that all command families and domains are available to the
user.
user.
none
Specifies that no command families or domains are available to the user.
no snmp
Denies the specified user SNMP access to the switch.
no auth
Specifies that the user has SNMP access without any required SNMP
authentication and encryption protocol.
authentication and encryption protocol.
sha
Specifies that the SHA authentication algorithm should be used for
authenticating SNMP PDU for the user.
authenticating SNMP PDU for the user.
md5
Specifies that the MD5 authentication algorithm should be used for
authenticating SNMP PDU for the user.
authenticating SNMP PDU for the user.