H3C S3100 Series Command Manual page 848

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Examples
# Establish a control connection with the FTP server whose IP address is 1.1.1.1 in FTP
client view.
[ftp]open 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):abc
331 Password required for abc
Password:
230 User logged in.
1.2.16 passive
Syntax
passive
undo passive
View
FTP client view
Parameters
None
Description
Use the passive command to set the data transfer mode to the passive mode.
Use the undo passive command to set the data transfer mode to the active mode.
By default, the passive mode is adopted.
The differences between the passive mode and the active mode are:
When working in the active mode, an FTP client advertises a random port Port1 to
an FTP server through TCP port 21; upon receiving the advertisement, the FTP
server initiates a connection with Port1 on the client for data transmission.
When working in the passive mode, an FTP client sends a passive request to the
FTP server before data transmission, the FTP server advertises a local random
port Port2 to the FTP client, and the FTP client establishes a connection with Port2
using a local random port.
If an FTP client initiates a connection with an FTP server through a firewall, the firewall
may block the connection request because the FTP server initiates the connection with
Port1 through an external network, and thus data transmission will be affected.
Chapter 1 FTP and SFTP Configuration
1-17
Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents