< Home

ftp ipv6

Function

The ftp ipv6 command sets up a control connection with the remote IPv6 FTP server and displays the FTP client view.

Format

# If the FTP connection address is the IPv6 address or host name of the remote FTP server, the command format is as follows:

ftp ipv6 host [ port-number ]

# If the FTP connection address is the IPv6 link-local address generated automatically by the interface of the remote IPv6 FTP server, the command format is as follows:

ftp ipv6 ipv6-linklocal-address -oi interface-type interface-number [ port-number ]

Parameters

Parameter Description Value

host

Specifies the IPv6 address or the name of the remote FTP server.

The value is a string of 1 to 46 case-insensitive characters without a blank space.

port-number

Specifies the port number of the remote IPv6 FTP server.

The value ranges from 1 to 65535 case-insensitive characters without a blank space. By default, the port number is 21.

ipv6-linklocal-address

Specifies the IPv6 link-local address generated automatically by the interface of the remote IPv6 FTP server.

-

-oi

Indicates the outbound interface of the IPv6 link-local address.

-

interface-type interface-number

Specifies the outbound interface type and number of the IPv6 link-local address.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

To enter the FTP view only and not connect to any FTP server, you can run the ftp command.

Before establishing an FTP connection, run the ftp ipv6 server enable command on the FTP server to enable IPv6 FTP server functions and ensure that the route between the FTP server and client is reachable.

Example

# Connect the remote FTP server with the IPv6 address being 2001:db8::1.

<sysname> ftp ipv6 2001:db8::1
Trying 2001:db8::1
Press CTRL+K to abort
Connected to ftp 2001:db8::1
220 FTP service ready.
User(2001:db8::1:(none)):huawei
331 Password required for huawei
Enter Password:
230 User logged in.
[ftp]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >