R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101
51
MAC_ADDRESS:3CE5-A6CC-8D21
MANUFACTURING_DATE:2011-01-06
VENDOR_NAME:HP
display diagnostic-information
Syntax
display diagnostic-information [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
Description
Use display diagnostic-information to display or save running status data for multiple feature modules.
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. The display diagnostic-information command equals the display clock, display
version, display device, and display current-configuration commands together.
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
===================================================