Logging Procedures Introduction
1-175
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
PUT LOG FILE
Syntax
PUT LOG FILE={ destinationfile | unit:destinationfile | serverpath/
destinationfile } [ { TFTP SERVER={ ipaddress | hostname } | ZMODEM
| FTP SERVER={ ipaddress | hostname } USER=userid PASSWORD=password
} ] [ TYPE={ MGMT | ERROR | TRACE | CRASH } ] [ CARD={ slot | ACTCFC
| INACTCFC } ]
Description Used to transfer management, error, trace or crash logs off the device. Currently, TFTP is
the only supported transfer method. Logs can be captured from any card with an inde-
pendently running software load. In the PUT LOG command syntax, the CARD parame-
ter can have the value slot. The procedure is the same, except that the CARD parameter
will use a slot number rather than ACTCFC or INACTCFC.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option Description Default Value
FILE The FILENAME parameter is used to specify the file-
name for the logs to be transferred into on the remote
server. If a unit:filename, the logs will be written to a file
on the specified flash unit.
TFTP SERVER ip address or host name of tftp server
ZMODEM Transfer logs usng the ZMODEM protocol.
FTP SERVER ip address or host name of ftp server
USER - user for the ftp server
PASSWORD - password for th ftp server
TYPE MGMT - management logs - logs generated during the
normal course of system operation that may indicate
system status, state or error conditions.
ERROR - error logs - logs used for field support and
debugging that may assist in troubleshooting.
TRACE - trace logs - logs used for field support and
debugging that may assist in troubleshooting.
CRASH - crash logs - logs used for field support and
debugging in cases where the system has experienced an
unhandled exception condition.