![H3C S5120-SI Series Скачать руководство пользователя страница 246](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174246.webp)
1-3
Only users with the manage level can use the
ftp
command to log in to an FTP server, enter FTP client
view, and execute directory and file related commands. However, whether the commands can be
executed successfully depends on the authorizations of the FTP server.
Establishing an FTP Connection
To access an FTP server, an FTP client must establish a connection with the FTP server. Two ways are
available to establish a connection: using the
ftp
command to establish the connection directly; using
the
open
command in FTP client view.
Source address binding means to configure an IP address on a stable interface such as a loopback
interface, and then use this IP address as the source IP address of an FTP connection. The source
address binding function simplifies the configuration of ACL rules and security policies. You just need to
specify the source or destination address argument in an ACL rule as this address to filter inbound and
outbound packets on the device, ignoring the difference between interface IP addresses as well as the
affect of interface statuses. You can configure the source address by configuring the source interface or
source IP address. The primary IP address configured on the source interface is the source address of
the transmitted packets. The source address of the transmitted packets is selected following these
rules:
z
If no source address is specified, the FTP client uses the IP address of the interface determined by
the matched route as the source IP address to communicate with an FTP server.
z
If the source address is specified with the
ftp client source
or
ftp
command, this source address is
used to communicate with an FTP server.
z
If you use the
ftp client source
command and the
ftp
command to specify a source address
respectively, the source address specified with the
ftp
command is used to communicate with an
FTP server.
The source address specified with the
ftp client source
command is valid for all FTP connections and
the source address specified with the
ftp
command is valid only for the current FTP connection.
Follow these steps to establish an FTP connection:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the source address
of the FTP client
ftp client source
{
interface
interface-type interface-number
|
ip
source-ip-address
}
Optional
A device uses the IP
address of the interface
determined by the
matched route as the
source IP address to
communicate with the FTP
server by default.
Exit to system view
quit
—
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...