Cisco 11503 - CSS Content Services Switch Administration Manual page 139

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 4
Using the CSS Logging Features
The syntax for the show log command is:
The options and variables for this command are as follows:
Note
OL-5647-02
show log {log_filename|traplog {tail lines} {line-numbers}}
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.
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.
Cisco Content Services Switch Administration Guide
Showing Log Files
4-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents