DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
374
upload log_toFTP
35-5
Description
This command is used to upload a log file from the Switch to an FTP server.
Format
upload log_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file
<path_filename 64> | ftp: <string 128>]
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
- Specifiy the FTP connection details.
<string 128>
- Enter the FTP connection details here. For example,
john:[email protected]:21/image/cfg.txt.
Restrictions
Only Administrators and Operators can issue this command.
Examples
This example shows how to upload the log file to an FTP server.
DGS-3000-26TC:admin# upload log_toFTP 10.90.90.15 d:/log.txt
Command: upload log_toFTP 10.90.90.15 d:/log.txt
Connecting to server................... Done.
User(Anonymous): john
Pass:******
Upload log............................. Done.
DGS-3000-26TC:admin#
This example shows how to upload the log file to an FTP server using a string.
Summary of Contents for DGS-3000 series
Page 1: ......