Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-24
[Sysname-luser-user1] level 3
1.1.22 local-user
Syntax
local-user user-name
undo local-user
{
user-name
|
all
[
service-type
{
lan-access
|
telnet
|
ssh
|
terminal
|
ftp
} ] }
View
System view
Parameter
user-name
: Name of the local user, a character string of up to 80 characters. This string
cannot contain the following characters: /:*?<>. It can contain no more than one @
character. The pure user name (user ID, that is, the part before @) cannot be longer
than 55 characters. User names are case-sensitive. For example, the system regards
UserA and usera as two different users.
all
: Specifies all local users.
service-type
: Specifies the local users of the specified type. You can specify one of the
following user types:
ftp
,
lan-access
(generally, this type of users are Ethernet access
users, for example, 802.1x users),
ssh
,
telnet
, and
terminal
(this type of users are
terminal users who log into the switch through the Console port).
Description
Use the
local-user
command to add a local user and enter local user view.
Use the
undo local-user
command to delete one or more specified local users.
By default, there is no local user in the system.
“a”, “al”, “all” cannot be name of the local user.
Related command:
display local-user
and
service-type
.
Example
# Add a local user named user1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
[Sysname-luser-user1]