125
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.
Description
Use the
display patch
command to display the installed patch files and the versions of their
corresponding patch packages. If a patch is not loaded from a patch package, the version of the patch
package is not displayed.
Examples
# Display the installed patch files and the versions of their corresponding patch packages. (The output of
this command varies with devices.) (in standalone mode)
<Sysname> display patch
The following patch packages are loaded:
flash:/ patch-package.app, Package-Version-001, loaded on slot(s):
0, 1, 2, 3, 4, 5,
# Display the installed patch files and the versions of their corresponding patch packages. (The output of
this command varies with devices.) (in IRF mode)
<Sysname> display patch
The following patch packages are loaded:
flash:/ patch-package.app, Package-Version-001, loaded on slot(s):
Chassis 1, slot(s): 0
Table 14
Output description
Field Description
flash:/patch-package.app
Directory of the installed patch file
Package-Version-001
Version of the patch package
loaded on slot(s):
Slot number of the card on which the patch loaded.
If only one CPU is on the card,
slot-number
is displayed. If multiple CPUs are
on the card,
slot-number
is displayed for the master CPU and
slot-number
.
cpu-id
is displayed for a slave CPU.
display patch information
Syntax
display patch information
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
3: Manage level