1-17
Examples
# Set the level of user1 to 3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
New local user added.
[Sysname-luser-user1] level 3
local-user
Syntax
local-user user-name
undo local-user
{
user-name
|
all
[
service-type
{
ftp
|
lan-access
|
ssh
|
telnet
|
terminal
} ] }
View
System view
Parameters
user-name
: Local username, a string of up to 184 characters. This string cannot contain the following
characters: /:*?<>. It can contain no more than one @ character. The pure username (user ID, that is,
the part before @) cannot be longer than 55 characters, and the domain name (the part behind @)
cannot be longer than 128 characters. If the username includes one or more “~” characters and the last
“~” is followed by numerals, it must be followed by at least five numerals to avoid confusion. This is
because any username longer than 16 characters will appear in the form of “system prompt-the first 15
characters of the username~4-digit index” in the view prompt to avoid word wrap.
all
: Specifies all local users.
service-type
: Specifies the local users of a 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
(terminal user who logs 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 local users of the specified type.
By default, there is no local user in the system.
Related commands:
display local-user
,
service-type
.
Examples
# Add a local user named user1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
New local user added.
[Sysname-luser-user1]
# Add a local user named 01234567891234567 (note that it will appear as 012345678912345~0000 in
the view prompt).
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...