Table 1 Log and operating information
Category
Common log
Diagnostic log
Operating
statistics
Collecting common log messages
Release 10xx
1.
Save common log messages from the log buffer to a log file:
By default, the log file is saved in the logfile directory of the flash memory on the active MPU (in
standalone mode) or global active MPU (in IRF mode).
# Save log messages to the log file on the default MDC (Admin).
<Sysname> logfile save
The contents in the log file buffer have been saved to the file flash:/logfile/lo
Gfile.log
# Identify non-default MDCs created on the device.
<Sysname> display mdc
ID
---------------------------------
1
2
3
# Save log messages to the log file on each non-default MDC.
<Sysname> system-view
[Sysname] switchto mdc mdc2
******************************************************************************
* Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
<HP> logfile save
File name format
logfile.log
diagfile.log
file-basename.gz
Name
Status
Admin
active
mdc2
active
mdc3
active
Content
Command execution and operational log messages.
Diagnostic log messages about device operation, including the
following items:
•
Parameter settings in effect when an error occurs.
•
Information about a card startup error.
•
Handshaking information between the MPU and interface
cards when a communication error occurs.
Current operating statistics for feature modules, including the
following items:
•
Device status.
•
CPU status.
•
Memory status.
•
Configuration status.
•
Software entries.
•
Hardware entries.
2
*
*
*