167
VENDOR_NAME : H3C
display diagnostic-information
Use
display diagnostic-information
to display or save running status data for multiple feature modules.
Syntax
display diagnostic-information
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
For diagnosis or troubleshooting, you can use separate
display
commands to collect running status data
module by module, or use the
display diagnostic-information
command to bulk collect running data for
multiple modules.
Examples
# Save running status data for multiple feature modules.
<Sysname> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)?[Y/N]y
Please input the file name(*.diag)[flash:/default.diag]:aa.diag
Diagnostic information is outputting to flash:/aa.diag.
Please wait...
Save succeeded.
To view the content of file
aa.diag
, execute the
more.aa.diag
command in user view, in combination of
the
Page Up
and
Page Down
keys.
# Display running status data for multiple feature modules.
<Sysname> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:n
=================================================
===============display clock===============
=================================================
08:54:16 UTC Fri 11/15/2008
===================================================
===============display version===============
===================================================