Chapter 4 Using the CSS Logging Features
Copying Log Files to an FTP or TFTP Server
4-24
Cisco Content Services Switch Administration Guide
OL-5647-02
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 Software.
• 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
Copying Log Files to a TFTP Server
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.