# If the connection address is the IPv6 address of the remote FTP server, the command format is as follows:
open [ ssl-policy policy-name ] ipv6 host-ipv6-address [ port-number ]
# If the 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:
open [ ssl-policy policy-name ] ipv6 ipv6-linklocal-address -oi interface-type interface-number [ port-number ]
| Parameter | Description | Value |
|---|---|---|
ssl-policy policy-name |
Specifies the name of an SSL policy. |
The value is a string of 1 to 23 case-insensitive characters, spaces not supported. |
ipv6 host-ipv6-address |
Specifies the IPv6 address or host name of the remote FTP server. |
The value is a string of 1 to 46 characters. |
port-number |
Specifies the port number of the remote IPv6 FTP server. |
The value ranges from 1 to 65535. 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. |
- |
On IPv6 networks, you can run the open ipv6 command to access the FTP server.
Before running the open ipv6 command, you need to obtain the IPv6 address of the IPv6 FTP server.
You can run either the open ipv6 command in the FTP client view or the ftp ipv6 command in the user view to set up a connection with the IPv6 FTP server.
# Set up a connection with FTP server 2001:db8::1.
<sysname> ftp [ftp] open ipv6 2001:db8::1 Trying 2001:db8::1 ... Press CTRL+K to abort Connected to 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]