Cisco 11503 Administration Guide - Page 260
Viewing a Traplog File, Viewing a CSS Disk Log File, logging disk, sendmail, show log
UPC - 746320664958
View all Cisco 11503 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 260 highlights
Viewing RMON Information Chapter 6 Configuring Remote Monitoring (RMON) For information on configuring an RMON event, see the "Configuring an RMON Event" section. For information on configuring an RMON alarm, see the "Configuring an RMON Alarm" section. Viewing a Traplog File A traplog file is an ASCII file in the log directory containing generic and enterprise SNMP traps. No configuration is necessary for the traplog file. When an RMON alarm event occurs, a notification of its occurrence is automatically saved in the trap log file on the CSS. Even when traps are disabled, the CSS still produces a log message for any event that would normally generate a trap. 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. The traps sent to the traplog file are the same traps sent to an SNMP network management station. Refer to Chapter 5, Configuring Simple Network Management Protocol (SNMP), for information on configuring SNMP. To display all SNMP traps that have occurred on the CSS, enter: # show log traplog Viewing a CSS Disk Log File Before the CSS can send an event to a log location, you must: • Configure the location by using the logging disk, host, line, or sendmail command. • Enable logging for the network management subsystem. To do so, enter: (config)# logging subsystem netman level info-6 Refer to Chapter 4, Using the CSS Logging Features, for details on configuring logging for the CSS. To view the events in a log file on the CSS disk, use the show log log_filename command. To view a log file named log1, enter: # show log log1 6-34 Cisco Content Services Switch Administration Guide OL-5647-02