beautypg.com

Clearing the log files, Gathering troubleshooting information – HP StorageWorks IP Storage Router User Manual

Page 199

background image

Maintaining and Managing the Storage Router

199

IP Storage Router SR2122-2 User Guide

Clearing the Log Files

To periodically clear the storage router log files.

1. enable — Enter Administrator mode.

2. show logging size — Check the current size of the storage router log

files (

Example 24

).

3. show logging all or show logging last 50

— Display all the

current log file entries (first command), or display a selected number of
entries, such as

50, from the end of the file (second command).

4. clear log — Clear the existing log file. The storage router clears the

existing log file and starts a new log file.

Example 24: Results of “show logging size” Command

[SR2122-2_PRA]# show logging size

5120 messages (342797 bytes) logged

Gathering Troubleshooting Information

If you experience problems with the storage router, you may need to obtain
troubleshooting information for HP technical support personnel. The storage
router provides several features that can help you assemble the necessary
information.

The following are typical activities involved with troubleshooting the storage
router:

Using the Crash Log

Using FTP with the Storage Router

Understanding Diagnostics

Capturing System Messages at Bootup

Understanding Logging

Capturing the Storage Router Configuration

Using Debug Facilities

This manual is related to the following products: