Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
Command History
Release
12.1(11)AX
Usage Guidelines
The log file is stored in ASCII text format in an internal buffer on a standalone switch, and in the case
of a switch stack, on the stack master. If a standalone switch or the stack master fails, the log is lost
unless you had previously saved it to flash memory by using the logging file flash:filename global
configuration command.
After saving the log to flash memory by using the logging file flash:filename global configuration
command, you can use the more flash:filename privileged EXEC command to display its contents.
The command rejects the minimum file size if it is greater than the maximum file size minus 1024; the
minimum file size then becomes the maximum file size minus 1024.
Specifying a level causes messages at that level and numerically lower levels to be displayed.
Examples
This example shows how to save informational log messages to a file in flash memory:
Switch(config)# logging file flash:logfile informational
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Command
show running-config
OL-8552-07
Modification
This command was introduced.
Description
Displays the running configuration on the switch. For syntax
information, select Cisco IOS Configuration Fundamentals Command
Reference, Release 12.2 > File Management Commands >
Configuration File Management Commands.
Catalyst 3750 Switch Command Reference
logging file
2-317