R2511-HP MSR Router Series Fundamentals Command Reference(V5)

79
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===============
===================================================
……Part of the output is not shown.……
display environment
Use display environment to display temperature information, including the current temperature and
temperature thresholds.
Syntax
display environment [ cpu ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
cpu: Displays temperature information of the CPUs on the device.
|: 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
The following matrix shows the command and router compatibility: