2-756
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set system syslog-file
set system syslog-file
To specify the flash device and filename for the syslog dump when the system fails, use the set system
syslog-file command.
set system syslog-file [device:[filename]]
Syntax Description
Defaults The flash device is slot0.
The filename is sysloginfo.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Enter the set system syslog-dump command to enable or disable the syslog dump feature. You can
change the flash device and the filename when the syslog dump feature is enabled or disabled.
If you only specify the flash device, the filename is automatically set to syslogi nfo. If you do not specify
the device or the filename, the previous filename for the syslog dump is cleared, and the default flash
device and filename (slot0:sysloginfo) are used.
Examples This example shows how to set the flash device for the syslog dump feature:
Console> (enable) set system syslog-file bootflash:
Default filename sysloginfo added to the device bootflash:
System syslog-file set.
Console> (enable)
This example shows how to set the flash device and the filename:
Console> (enable) set system syslog-file bootflash:sysmsgs1
System syslog-file set.
Console> (enable)
This example shows how to restore the flash device and the filename to the default settings:
Console> (enable) set system syslog-file
System syslog-file set to the default file.
Console> (enable)
Related Commands set system syslog-dump
show system
device:(Optional) Name of the flash device.
filename (Optional) Name of the file for the syslog dump.