Copying Log Files to an FTP or TFTP Server
Copying Log Files to a TFTP Server
Cisco Content Services Switch Administration Guide
4-24
The syntax is:
copy log logfilename ftp ftp_record filename
The options and variables for this command are as follows:
logfilename - Specifies the name of the log file on the CSS. Enter an unquoted
•
text string with no spaces and a maximum of 32 characters. To see a list of
log files, enter the copy log ? command.
•
ftp - Copies a log file to an FTP server.
ftp_record - Specifies the name of the FTP record file that contains the FTP
•
server IP address, username, and password. Enter an unquoted text string with
no spaces and a maximum of 16 characters. To create an FTP record, see
Chapter 1, Managing the CSS
filename - Specifies the name you want to assign to the file on the FTP
•
server. Include the full path to the file. Enter an unquoted text string with no
spaces and a maximum of 32 characters.
For example, to copy the starlog log file to an FTP server:
# copy log starlog ftp ftpserv1 starlogthurs
To copy a log file to a TFTP server, use the copy log tftp command. The syntax is:
copy log log_filename [ftp ftp_record|tftp ip_or_host] filename
The options and variables for this command are as follows:
log_filename - The name of the log file on the CSS. Enter an unquoted text
•
string with no spaces and a maximum of 32 characters. To see a list of log
files, enter the copy log ? command.
tftp - Copies a log file to a TFTP server.
•
Chapter 4
Using the CSS Logging Features
Software.
OL-5647-02