1-10
To do…
Use the command…
Remarks
Configure user properties
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, the FTP/SFTP
users can access the root
directory of the device, and the
user level is 0. You can change
the default configuration by
using this command.
z
For more information about the
local-user
,
password
,
service-type ftp
, and
authorization-attribute
commands, refer to
AAA Commands
in the
Security Volume
.
z
When the device serves as the FTP server, if the client is to perform the write operations (upload,
delete, create, and delete for example) on the device’s file system, the FTP login users must be
level 3 users; if the client is to perform other operations, for example, read operation, the device
has no restriction on the user level of the FTP login users, that is, any level from 0 to 3 is allowed.
FTP Server Configuration Example
Network requirements
z
As shown in
Figure 1-3
, use Device as an FTP server, and the PC as the FTP client. Their IP
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. An available route exists between Device
and PC.
z
PC keeps the updated startup file of the device. Use FTP to upgrade the device and back up the
configuration file.
z
Set the username to
ftp
and the password to
pwd
for the FTP client to log in to the FTP server.
Figure 1-3
Upgrading using the FTP server
Configuration procedure
1) Configure Device (FTP Server)
# Create an FTP user account
ftp
, set its password to
pwd
and the user privilege level to level 3 (the
manage level). Authorize
ftp
’s access to the root directory of the flash, and specify
ftp
to use FTP.
<Sysname> system-view
[Sysname] local-user ftp
[Sysname-luser-ftp] password simple pwd
[Sysname-luser-ftp] authorization-attribute level 3
[Sysname-luser-ftp] authorization-attribute work-directory flash:/
[Sysname-luser-ftp] service-type ftp
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...