Connecting To Other Devices By Using Ftp Commands - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
Prerequisite
An IP address is configured for an interface on the router and functions as the source IP address
of an FTP connection. In this manner, security checks can be implemented.
The source address of a client can be configured as a source interface or a source IP address.
The interface configuration is possible, only if the system has a loopback interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ftp client-source { -a ip-address }
The source IP address of the FTP client is configured.
or
ftp client-source { -i interface-type interface-number }
The loopback addresses of the FTP client is configured.
Then, run the display ftp-client command on the router to view the current configuration of the FTP client.
----End

8.6.3 Connecting to Other Devices by Using FTP Commands

You can run FTP commands to log in to other devices from the router that functions as the FTP
client.
Context
You can log in to the FTP server in the user view or the FTP view.
Do as follows on the router that serves as the client:
Procedure
l
l
Issue 02 (2011-10-15)
NOTE
In the user view, establish a connection to the FTP server.
Run:
ftp [ -a source-ip-address | -i interface-type interface-number ] host [ port-
number ] [ public-net | vpn-instance vpn-instace-name ]
The router is connected to the FTP server.
In the FTP view, establish a connection to the FTP server.
1.
In the user view, Run:
ftp
The FTP view is displayed.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 Accessing Another Device
142

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents