F3215-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

90
Ste
p
Command
Remarks
5. Configure
authorization
attributes.
authorization-attribute { acl
acl-number | callback-number
callback-number | idle-cut minute
| level level | user-profile
profile-name | user-role { guest |
guest-manager | security-audit } |
vlan vlan-id | work-directory
directory-name } *
Optional.
By default, the FTP users can access the root
directory of the device, and the user level is 0.
You can change the default configuration
using this command.
For more information about the local-user, password, service-type ftp, and authorization-attribute
commands, see Security Command Reference.
FTP server configuration example
Network requirements
Create a local user account with the username abc and password abc and enable FTP server on the LB
module in Figure 34. Us
e the user account to log in to the FTP server from the FTP client, upload the file
newest.bin from the FTP client to the FTP server, and download the configuration file config.cfg from the
FTP server to the FTP client for backup.
Figure 34 Network diagram
Configuration procedure
1. Configure LB (FTP server):
# Create a local user account abc, set its password to abc and the user privilege level to level 3 (the
manage level), specify the root directory of the CF card as the authorized directory, and specify
the service type as FTP.
<LB> system-view
[LB] local-user abc
[LB-luser-abc] password simple abc
[LB-luser-abc] authorization-attribute level 3
[LB-luser-abc] authorization-attribute work-directory cfa0:/
[LB-luser-abc] service-type ftp
[LB-luser-abc] quit
# Enable the FTP server.
[LB] ftp server enable
[LB] quit
# Examine the storage space for space insufficiency and delete unused files for more free space.
<LB> dir
Directory of cfa0:/
0 drw- - Dec 07 2012 10:00:57 filename
1 drw- - Jan 02 2012 14:27:51 logfile