Cisco Catalyst 3560X-24P Command Reference Manual page 365

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
Command History
Release
12.2(53)SE2
Usage Guidelines
On the Catalyst 3750-switch, 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.
On the Catalyst 3560-switch, the log file is stored in ASCII text format in an internal buffer on the
switch. You can access logged system messages by using the switch command-line interface (CLI) or by
saving them to a properly configured syslog server. If the switch 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-21522-02
Modification
This command was introduced.
Description
Displays the operating configuration. For syntax information, use this
link to the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma
nd_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to navigate
to the command.
Catalyst 3750-X and 3560-X Switch Command Reference
logging file
2-333

Advertisement

Table of Contents
loading

Table of Contents