2-630
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set system syslog-file
set system syslog-file
To specify the flash device and file name 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 file name 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 file name when the syslog dump f eat ure is e nab led or d isabl e d.
If you only specify the flash device, the file name is automatically set to sysloginf o. If you do not specify
the device or the file name, the previous file name for the syslog dump is cleared and the default flash
device and file name (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 file name:
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 file name 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.