136
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display hotfix information. (The command output varies with devices.)
<Sysname> display patch information
The location of patches: flash:/
Slot Version Temporary Common Current Active Running Start-Address
----------------------------------------------------------------------
1 XXX002 0 1 1 0 0 0x4accf74
2 XXX 0 0 0 0 0 0x4accf74
The location of patches: flash:
Slot Version Temporary Common Current Active Running Start-Address
----------------------------------------------------------------------
1 MPU 0 0 0 0 0 0x86262dd8
1.1 LPU 0 0 0 0 0 0x809533a4
Table 20
Command output
Field Description
The location of patches
Patch file location. You can use the
patch location
command to change the
location.
Slot
Member ID. If only one CPU is on the device,
slot-number
is displayed. If
multiple CPUs are on the device,
slot-number
is displayed for the master CPU
and
slot-number
.
cpu-id
is displayed for a subordinate CPU.
Version
Patch version. The first three characters represent the suffix of the
PATCH-FLAG. For example, if the PATCH-FLAG of the member device is
PATCH-RPE, "RPE" is displayed. The following three digits, if any, represent
the patch number. (The patch number can be read after the patch is loaded.)
Temporary
Number of temporary patches.
Common
Number of common patches.
Current
Total number of patches.
Running
Number of patches in RUNNING state.
Active
Number of patches in ACTIVE state.
Start-Address
Start address of the patch memory area in the memory.
patch active
Use
patch active
to activate patches.
Syntax
patch active
[
patch-number
]
slot
slot-number
Views
System view
Default command level
3: Manage level