58
The value of each parameter in the file must meet the requirements of the local user attributes on the
device. Any violation results in account import failure and interruption. The system displays the
number of the line where the account import is interrupted.
Separate different account entries by a carriage return and separate each parameter value in an
account entry by a comma (,). If the value of a parameter contains a comma (,), you must enclose the
value within a pair of quotation marks ("") to avoid ambiguity. For example,
Jack,abc,visit,Jack Chen,ETP,[email protected],1399899,"The manager of ETP, come from TP.",Sam
Wang,Ministry of personnel,[email protected]
The device supports TFTP and FTP file transfer modes.
describes the valid URL formats of
the .csv file.
Table 5 URL formats
Protocol
URL format
Description
TFTP
tftp://server
/
path
/
filename
Specify a TFTP server by IP address or
hostname. For example, specify the file path as
tftp://1.1.1.1/user/user.csv
.
FTP
•
With FTP user name and
password:
ftp://username
:
password@serve
r
/
path
/
filename
•
Without FTP user name and
password:
ftp://server
/
path
/
filename
Specify an FTP server by IP address or
hostname.
The device ignores the domain name in the
FTP user name.
For example, specify the file path as
ftp://1:[email protected]/user/user.csv
or
ftp://1.1.1.1/user/user.csv
.
Examples
# Import guest account information from the
ftp://1.1.1.1/user/guest.csv
file and specify a validity
period for the imported guests.
<Sysname> system-view
[Sysname] local-user-import class network guest url ftp://1.1.1.1/user/guest.csv
validity-datetime 2014/10/01 00:00:00 to 2014/10/02 12:00:00
Related commands
display local-user
local-user-export
password (device management user view)
Use
password
to configure a password for a device management user.
Use
undo password
to restore the default.
Syntax
In non-FIPS mode:
password
[ {
hash
|
simple
}
string
]
undo password
In FIPS mode:
password
Default
In non-FIPS mode, a device management user does not have a password and can pass
authentication after entering the correct username and passing attribute checks.
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...