< Home

display patch-information

Function

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

Format

display patch-information [ history ]

Parameters

Parameter Description Value

history

Displays historical information about the patch in the current system.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

After a patch is loaded or deleted, run this command to view information about the patch, including its version, name, and status.

Example

# Display current information about the patch in the system.

<HUAWEI> display patch-information
Patch Package Name   :flash:/patch_pack.pat                              
Patch Package Version:V200R013SPH                                               
The state of the patch state file is: Running                                   
The current state is: Running                                                   
                                                                                
************************************************************************        
*           Information about hot patch errors is as follows:          *        
************************************************************************        
                                                                                
     Slot            CurrentVersion                                             
------------------------------------------------------------                    
                                                                                
No hot patch error occurs on any board.                                         
                                                                                
                                                                                
************************************************************************        
*                The hot patch information, as follows:                *        
************************************************************************        
                                                                                
 Slot       Type           State     Count Time(YYYY-MM-DD HH:MM:SS)            
------------------------------------------------------------------------        
 3          C              Running   1     2018-12-03 18:34:25+00:00            
 4          C              Running   1     2018-12-04 09:51:43+00:00            
                                                                                
                                                                                
************************************************************************        
*              The Kernel patch information, as follows:               *        
************************************************************************        
                                                                                
     Slot           Type           State          Count                         
------------------------------------------------------------                    
     3              Kernel         Running        1                             
     4              Kernel         Running        1                             
                                                                                
                                                                                
************************************************************************        
*              The firmware patch information, as follows:             *        
************************************************************************        
                                                                                
     Slot           Type           State          Count                         
------------------------------------------------------------                    
     4              Firmware       Running        1                             

# Display historical information about the patch in the system.

<HUAWEI> display patch-information history
************************************************************************        
*                The patch command history, as follows:                *        
************************************************************************        
                                                                                
 time(Y.M.D/HH:MM:SS)   state         size     patch-package name               
 -----------------------------------------------------------------------        
 2014.01.29/14:07:39  Startup       827318      patch_all_pack.pat       
 2014.10.13/11:33:12  Running         8404      patch_all_pack1.pat       
 2014.10.13/10:48:36     Idle       827318      patch_all_pack2.pat
Table 1 Description of the display patch-information command output

Item

Description

Patch Package Name

Name of the patch file.

Patch Package Version

Version of the patch.

The state of the patch state file is

Status of the patch file.

The current state is

Current status of the patch.

Slot

Slot ID.

Type

Patch type.

  • C: single-core patch.

  • Firmware: indicates a firmware patch.

  • SEFU: multi-core patch type.
  • ENP: indicates an ENP patch. (Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this patch type.)

  • Kernel: indicates a kernel patch. (Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this patch type.)

  • BIN: indicates a process patch. (The S2720-EI, and S5720-EI do not support this patch type.)

  • C-WMP: multi-core WMP patch. (Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this patch type.)

  • C-NAC: multi-core NAC patch. (Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this patch type.)

State

Running status of the patch.

  • Deactive

  • Active

  • Running

  • Idle: no patch in the system

  • Startup: indicates the Startup state after the patch to be loaded at the next startup is set. If the next state change is recorded, the current Startup state is overwritten.

Count

Number of patch units.

For kernel patches, the number of kernel patches in Active and Running states is displayed.

Time(YYYY-MM-DD HH:MM:SS)

Time when the patch takes effect.

size

Size of the patch.

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