70
Syntax
display ftp client configuration
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If the specified source IP address is active, this command displays the source IP address. If the specified
source interface is active, this command displays the source interface.
Examples
# Display the source IP address configuration of the FTP client.
<Sysname> display ftp client configuration
The source IP address is 192.168.0.123
Related commands
ftp client source
ftp
Use
ftp
to log in to an FTP server and enter FTP client view.
Syntax
ftp
[
server-address
[
service-port
] [
vpn-instance
vpn-instance-name
] [
source
{
interface
interface-type
interface-number
|
ip
source-ip-address
} ] ]
Views
User view
Default command level
3: Manage level
Parameters
server-address
: IP address or host name of the FTP server, a string of 1 to 20 characters.
service-port
: TCP port number of the FTP server, in the range of 0 to 65535. The default value is 21.
vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN the FTP server belongs to. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. If the FTP server is on the
public network, do not specify this option.