73
Table 6 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@server
/
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
Use
password
to configure a password for a local user.
Use
undo password
to restore the default.
Syntax
In non-FIPS mode:
password
[ {
cipher
|
hash
|
simple
}
string
]
undo password
In FIPS mode:
password
Default
In non-FIPS mode, no password is configured for a local user. A local user can pass authentication
after entering the correct username and passing attribute checks.
In FIPS mode, no password is configured for a local user. A local user cannot pass authentication.
Views
Local user view
Predefined user roles
network-admin
Parameters
cipher
: Specifies a password in encrypted form.