22
Chapter 1 System Messaging Platform
316806-C
The log file is transferred to the remote machine by File Transfer Protocol (FTP) if
a username and password are configured. Otherwise, Trivial File Transfer
Protocol (TFTP) is used to transfer the log file. For TFTP, the destination file must
have write permission in the remote host.
All of your FTP transfer hosts must use
the same username and password. This includes hosts used to copy files as well as
the SMP log
.
Transfer criteria
Before logging a system message on the PCMCIA, SMP calculates the space
available for logging according to the parameters defined. Logging either
continues on the PCMCIA, or SMP transfers the existing log to a remote host.
When the current log is transferred, a new log file is created on the PCMCIA. If
there is not enough free space on the PCMCIA (not including the current log file
size) for the log to reach the configured minsize parameter, SMP transfers the log
and begins logging to DRAM until there is enough free space on the PCMCIA.
Example 1
The Ethernet Routing Switch 8300 has been in operation for some time with an
8 MB (8192 KB) PCMCIA installed.
Note:
1.
The IP address you configured for the remote host must be reachable.
2.
Nortel strongly recommends renaming any log file before transferring
it from a host to the switch (for example, for use with the
show log
file name-of-file
<
filename
>
command
).
Failure to rename the
log file may cause the switch to use the recently transferred file as the
current log, if the sequence number in the extension is higher than the
current log file. For example, if
bf800005.002
is the current log file and
the you transfer
bf800005.007
to the switch, the switch logs future
messages to the
bf800005.007
file. You can avoid this by renaming log
files in a format other than that used by SMP.
3.
If your TFTP server is a UNIX-based machine, any files written to the
server must already exist. For example, you must create dummy files with
the same names as your system logs if they are to be saved properly on a
UNIX TFTP server. This is commonly done by using the
touch
command (for example,
touch bf800005.001
)