
35
Follow these steps to configure the attributes for a local user:
To do…
Use the command…
Remarks
1.
Enter system view
system-view
—
2.
Set the password display mode
for all local users
local-user password-display-
mode
{
auto
|
cipher-force
}
Optional
auto
by default, indicating that
the password must be displayed
in the mode specified during
password configuration.
3.
Add a local user and enter
local user view
local-user
user-name
Required
No local user exists by default.
4.
Configure a password for the
local user
password
{
cipher
|
simple
}
password
Optional
5.
Place the local user to the state
of active or blocked
state
{
active
|
block
}
Optional
When created, a local user is in
the state of active by default, and
the user can request network
services.
6.
Set the maximum number of
user connections using the local
user account
access-limit
max-user-number
Optional
By default, there is no limit on the
maximum number of user
connections using the same local
user account.
7.
Specify the service types for the
local user
service-type
{
ftp
|
lan-access
| {
ssh
|
telnet
|
terminal
} * |
portal
}
Optional
By default, no service is
authorized to a user.
8.
Configure the binding attributes
for the local user
bind-attribute
{
call-number
call-number
[ :
subcall-number
] |
ip
ip-address
|
location
port
slot-
number subslot-number
port-number
|
mac
mac-address
|
vlan
vlan-id
}
*
Optional
By default, no binding attribute is
configured for a local user.
9.
Configure the authorization
attributes for the local user
authorization-attribute
{
acl
acl-number
|
callback-number
callback-number
|
idle-cut
minute
|
level
level
|
user-profile
profile-name
|
vlan
vlan-id
|
work-directory
directory-name
}
*
Optional
By default, no authorization
attribute is configured for a local
user.