Transferring A Log File To A Remote Machine; Setting Syslog File Size - Nortel 8300 Troubleshooting Manual

Ethernet routing switch
Hide thumbs Also See for 8300:
Table of Contents

Advertisement

34 Initial troubleshooting
Transferring a log file to a remote machine
A host can be configured to send the files when they reach their maxsize.
You can configure up to 10 hosts and they are tried in the order configured.
After a file reaches its maxsize, the switch attempts to copy the syslog to
the server/host configured. If there are no hosts configured or the hosts
are unreachable the switch stops logging to the syslog and all new entries
are logged in DRAM.
If the current syslog log file is transferred to a remote host and the transfer is
verified as successful, the SMP log on the PCMCIA card is deleted. A new
log file is then started and the extension is incremented by 1.
If the settings are left at default (that is, the syslog reaches the default
maxsize of 1MB), then all logging to the syslog ceases. To ensure that
logging does not stop, you can do either of the following:
Setting syslog file size
Use the following procedure to change to maxsize of the log file.
Procedure steps
Step
1
Variable definitions
Variable
maxoccupyPercentage {10..90}
Copyright © 2007, Nortel Networks
.
maxoccupypercentage 90%
Change the maxsize to a larger value than the default and manually
maintain the syslog files on the switches. See
(page
34).
Create syslog hosts and transfer the syslog files to this host. See
"Setting host address for file transfer" (page
Action
To change to log file parameters, enter the following command:
config bootconfig logfile {minsize {64..500} {maxsize
{500..16384} {maxoccupyPercentage {10..90}
To prevent the syslog file from stopping logging, change the maxsize
to a larger value than the default value of 1024 KB.
Nortel Ethernet Routing Switch 8300
Troubleshooting
NN46200-704 01.01 Standard
4.0 29 October 2007
"Setting syslog file size"
35).
—End—
Value
The maximum percentage that the
syslog can occupy. The default is 90%.

Advertisement

Table of Contents
loading

Table of Contents