11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

logging fileChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesOn the <strong>Catalyst</strong> <strong>3750</strong>-E switch ,the log file is stored in ASCII text format in an internal buffer on ast<strong>and</strong>alone switch, <strong>and</strong> in the case of a switch stack, on the stack master. If a st<strong>and</strong>alone switch or thestack master fails, the log is lost unless you had previously saved it to flash memory by using the loggingfile flash:filename global configuration comm<strong>and</strong>.On the <strong>Catalyst</strong> <strong>3560</strong>-E switch, the log file is stored in ASCII text format in an internal buffer on theswitch. You can access logged system messages by using the switch comm<strong>and</strong>-line interface (CLI) or bysaving them to a properly configured syslog server. If the switch fails, the log is lost unless you hadpreviously saved it to flash memory by using the logging file flash:filename global configurationcomm<strong>and</strong>.After saving the log to flash memory by using the logging file flash:filename global configurationcomm<strong>and</strong>, you can use the more flash:filename privileged EXEC comm<strong>and</strong> to display its contents.The comm<strong>and</strong> rejects the minimum file size if it is greater than the maximum file size minus 1024; theminimum file size then becomes the maximum file size minus 1024.Specifying a level causes messages at that level <strong>and</strong> numerically lower levels to be displayed.ExamplesThis example shows how to save informational log messages to a file in flash memory:<strong>Switch</strong>(config)# logging file flash:logfile informationalYou can verify your setting by entering the show running-config privileged EXEC comm<strong>and</strong>.Related Comm<strong>and</strong>sComm<strong>and</strong>show running-configDescriptionDisplays the operating configuration. For syntax information, use thislink to the <strong>Cisco</strong> <strong>IOS</strong> Release 12.2 Comm<strong>and</strong> Reference listing page:http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm<strong>and</strong>_reference_list.htmlSelect the <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>s Master List, Release 12.2 to navigateto the comm<strong>and</strong>.2-328<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!