Example For Configuring The Ftp Client - Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration
[Quidway-acl-basic-2001] quit
Step 3 Configure the ACL supported by the FTP server.
[Quidway] ftp acl 2001
Step 4 Connect PC1 to the FTP server.
This step needs to be performed on the DOS of the PC.
c:\ ftp 172.16.104.110
Connected to 172.16.104.110.
220 FTP service ready.
User (100.2.150.40:(none)):u1
331 Password required for u1
Password:
230 User logged in.
ftp>
Step 5 Connect PC2 to the FTP server.
This step needs to be performed on the DOS of the PC.
c:\ ftp 172.16.104.110
Connected to 172.16.104.110.
Info:Connection was denied by remote host according to ACL!
Connection closed by remote host.
----End
Configuration Files
Configuration file of the FTP server
#
sysname Quidway
#
FTP server enable
FTP acl 2001
#
acl number 2001
rule 5 permit source 172.16.104.111 0
#
vlan batch 10
#
interface Vlanif10
ip address 10.1.1.2 255.255.255.0
#
interface Ethernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
local-user u1 password simple huawei
local-user u1 ftp-directory flash:/
local-user u1 service-type ftp
#
return

8.7.3 Example for Configuring the FTP Client

In this example, a switch is configured to be an FTP client. Then, the switch logs in to the FTP
server and downloads system software and configuration software.
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 FTP and TFTP
111

Advertisement

Table of Contents
loading

Table of Contents