display patch-information

Function

The display patch-information command displays information about a patch in the current system.

Format

display patch-information [ verbose | history ]

Parameters

Parameter Description Value
verbose

Displays patch details. The details include information about running, active, and inactive patch units, the slot ID of the board where a specified patch instance resides, ID of the process to which the patch instance belongs, and patch instance name.

-

history

Displays historical information about a patch running in the current system.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
patch read

Usage Guidelines

Usage Scenario

To view information about a patch in the current system, run the display patch-information command.

Precautions

If no patch is installed in the system, the patch version, name, and status are not displayed in the display patch-information command output.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display patch information when no patch is running in the current system.
<HUAWEI> display patch-information
Info: No patch exists. 
The current state is: Idle.
# Display information about all the patches in the current system.
<HUAWEI> display patch-information
Patch Package Name    :cfcard:/XXXXX.PAT
Patch Package Version :V800R021C00SPC100
Patch Package State   :Running
Patch Package Run Time:2020-02-24 08:20:22
# Display details about all the patches in the current system.
<HUAWEI> display patch-information verbose
Patch Package Name    :cfcard:/XXXX.PAT
Patch Package Version :V800R021C00SPC100
Patch Package State   :Running
Patch Package Run Time:2020-02-24 08:20:22
Board Info :
-------------------------------------------
Slot-id  PatchType Count
-------------------------------------------
1       SCRIPT    1
-------------------------------------------
Total = 1
# Display patch information when cold patch is running in the current system.
<HUAWEI> display patch-information
Patch Package Name    :cfcard:/XXXX.PAT
Patch Package Version :V800R021C00SPC100
Patch Package State   :Running   
Patch Package Run Time:2020-12-04 09:42:27

****************************************************************************
* Warning: Perform the following operations to deal with the cold patch.   * 
****************************************************************************
----------------------------------------
Device    Type    Upgrade mode        
----------------------------------------
1      reset board
----------------------------------------
Table 1 Description of the display patch-information command output
Item Description
Patch Package Name

Name of a patch.

Patch Package Version

Version of a patch.

Patch Package State

Status of a patch instance.

  • Idle.
  • Running.
Patch Package Run Time

Time when a patch started to run.

Board Info

Information about the board where a patch instance resides.

Slot-id

Slot ID for the board where a patch instance resides.

PatchType

Type of a patch instance.

Device

Position id for the board where have cold patch not effect.

Type

Position type.

Upgrade mode

Upgrade mode.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >