DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
372
Examples
This example shows how to download the configuration file from an FTP server.
DGS-3000-26TC:admin# download cfg_fromFTP 10.54.71.1 cfg01.txt 1
Command: download cfg_fromFTP 10.54.71.1 cfg01.txt 1
Connecting to server................... Done.
User(Anonymous): john
Pass:******
Download configuration................. Done.
DGS-3000-26TC:admin#
This example shows how to download the configuration file from an FTP server using a string.
DGS-3000-26TC:admin# download cfg_fromFTP ftp:
john:[email protected]:21/cfg.txt 2
Command: download cfg_fromFTP ftp: john:[email protected]:21/cfg.txt 2
Connecting to server................... Done.
Download configuration................. Done.
DGS-3000-26TC:admin#
upload cfg_toFTP
35-4
Description
This command is used to upload a configuration file from the Switch to an FTP server.
Format
upload cfg_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file
<path_filename 64> | ftp: <string 128>] {src_file <path_filename 64>} {[include | exclude |
begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
Parameters
<ipaddr>
- Enter the IPv4 address of the FTP server here.
<ipv6addr>
- Enter the IPv6 address of the FTP server here.
tcp_port
- (Optional) Specify the TCP port number used for the FTP connection.
<tcp_port_number 1-65535>
- Enter the TCP port number here. This value must be between
1 and 65535.
dest_file
- Specify the destination file name and path.
<path_filename 64>
- Enter the destination file name and path here. This can be up to 64
characters long.
ftp:
- Specify the FTP connection details.
<string 128>
- Enter the FTP connection details here. For example,
john:[email protected]:21/image/cfg.txt.
src_file
– (Optional) Specify the source file's name and path.
<path_filename 64>
- Enter the source file's name and path here. This can be up to 64
Содержание DGS-3000 series
Страница 1: ......