Ftp server configuration example, Network requirements – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 536

Advertising
background image

57-7

Follow these steps to configure authentication and authorization for FTP server:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a local user and
enter its view

local-user user-name

Required
No local user exists by default, and the
system does not support FTP anonymous
user access.

Assign a password to the
user

password

{ simple | cipher }

password

Required

Assign the FTP service to
the user

service-type ftp

Required
By default, the system does not support
anonymous FTP access, and does not
assign any service. If the FTP service is
assigned, the root directory of the device is
used by default.

Specify the directory an
FTP user can access

work-directory directory-name

Optional
By default, the FTP/SFTP users can access
the root directory of the device.

Set the priority level of the
FTP user

level level

Optional
0 by default
To upload files to an FTP server, you need to
set the FTP user level to 3.

If FTP server performs authentication, authorization and accounting (AAA) policy on FTP client, AAA
related parameters should be configured on the FTP server. For more information about the local-user,

password

, service-type ftp, work-directory,and level commands and the AAA related configuration,

refer to the AAA-RADIUS-HWTACACS in H3C WX6103 Access Controller Switch Interface Board

Configuration Guide

.

FTP Server Configuration Example

Network requirements

z

Use your device as an FTP server. Create a user account for an FTP user on it, setting the
username to abc and the password to pwd.

z

The IP address of the Ethernet interface is 1.1.1.1/16.

z

The PC serves as the FTP client.

Advertising