Cisco 11503 Administration Guide - Page 139
show log, traplog, line-numbers, log ?, Warm Start
UPC - 746320664958
View all Cisco 11503 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 139 highlights
Chapter 4 Using the CSS Logging Features Showing Log Files The syntax for the show log command is: show log {log_filename|traplog {tail lines} {line-numbers}} The options and variables for this command are as follows: • log_filename - Specifies the name of the log file. Enter an unquoted text string with no spaces. To see a list of log files with their creation dates, enter: show log ? • traplog - (Optional) Displays all SNMP traps that have occurred. A trap log file is an ASCII file in the log directory containing generic and enterprise traps. By default, the following events generate level critical-2 messages: - Link Up - Link Down - Cold Start - Warm Start - Service Down - Service Suspended All other SNMP traps generate level notice-5 messages. When a traplog file reaches its maximum size (50 MB for a hard disk-based CSS, 10 MB for a flash disk-based CSS), the CSS renames the traplog file to traplog.prev as a backup file and starts a new traplog file. The CSS overwrites the backup traplog file when it renames the traplog file. Each time the CSS reboots, it continues to use the existing traplog file until it reaches its maximum size. Note When traps are disabled, the CSS still produces a log message for any event that would normally generate a trap. • tail lines - (Optional) Displays the bottom and most recent portion of the log file. The CSS displays the log file, starting from the beginning of the file. The top of the file lists the older messages and the bottom lists the most recent messages. You can specify the number of lines to display (to a maximum of 1000 lines), starting at the end of the log file. Enter a number from 1 to 1000. • line-numbers - (Optional) Includes the line numbers when displaying the contents of the log file. OL-5647-02 Cisco Content Services Switch Administration Guide 4-19