08-System Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)08-System Volume
16-Hotfix Commands
Title Size Download
16-Hotfix Commands 35.65 KB

Hotfix Configuration Commands

display patch-information

Syntax

display patch-information [ slave | slot slot-number ]

View

Any view

Default Level

3: Manage level

Parameters

slave: Displays the hotfix information on the backup main board.

slot slot-number: Displays the hotfix information on the specified board. slot-number represents the slot number of the board. The value range of this argument varies with the device model.

Description

Use the display patch-information command to display the hotfix information on the specified board.

If you execute this command without specifying slave or slot-number, the command is applicable to the patches on the active main board.

Examples

# Display the hotfix information of the device.

<Sysname> display patch-information

Patch version            : PATCH-XXX001

Software version        : COMWAREV500R002B45D001

Temp patch number       : 0

Common patch number     : 2

Current patch number    : 2

Running patch number    : 0

Active patch number     : 0

Patch area length        : 0xe0000

Patch area start address: 0x18c1800

Table 1-1 display patch-information command output description

Field

Description

Temp patch number

Number of temporary patches

Common patch number

Number of common patches

Current patch number

Total number of the current patches

Running patch number

Number of running patches

Active patch number

Number of active patches

 

patch active

Syntax

patch active patch-number [ slave | slot slot-number ]

View

System view

Default Level

3: Manage level

Parameters

patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used.

slave: Specifies the standby main board.

slot slot-number: Specifies a board by its slot number. The value range of this argument varies with the device model.

Description

Use the patch active command to activate the specified patch, namely, the system will run the patch.

After you execute the command, all the DEACTIVE patches before the specified patch number are activated.

Note that:

l          The command is not applicable to patches in the DEACTIVE state.

l          After a system reboot, the original ACTIVE patches change to DEACTIVE and become invalid. To make them effective, you need to activate them again.

If you execute this command without specifying slave or slot-number, the command activates the specified patches on the active main board.

Examples

# Activate patch 3 and all the DEACTIVE patches before patch 3 on the standby main board.

<Sysname> system-view

[Sysname] patch active 3 slave

patch deactive

Syntax

patch deactive patch-number [ slave | slot slot-number ]

View

System view

Default Level

3: Manage level

Parameters

patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used.

slave: Specifies the standby main board.

slot slot-number: Specifies a board by its slot number. The value range of this argument varies with the device model.

Description

Use the patch deactive command to stop running the specified patch and all the ACTIVE patches before the specified patch number, and the system will run at the original software version.

All the ACTIVE patches (including the specified patch) turn to DEACTIVE state.

This command is not applicable to the patches in the RUNNING state.

If you execute this command without specifying slave or slot-number, the command deactivates the specified patches on the active main board.

Examples

# Stop running patch 3 and all the ACTIVE patches after patch 3 on board 5.

<Sysname> system-view

[Sysname] patch deactive 3 slot 5

patch delete

Syntax

patch delete patch-number [ slave | slot slot-number ]

View

System view

Default Level

3: Manage level

Parameters

patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used.

slave: Specifies the standby main board.

slot slot-number: Specifies a board by its slot number. The value range of this argument varies with the device model.

Description

Use the patch delete command to delete the specified patch and all the patches before the specified patch number.

This command only removes the patches from the memory patch area, and it does not delete them from the storage medium. The patches are in the IDLE state after execution of this command.

If you execute this command without specifying slave or slot-number, the command deletes the specified patch(es) on the active main board.

Examples

# Delete patch 3 and all the patches before patch 3 on board 5.

<Sysname> system-view

[Sysname] patch delete 3 slot 5

patch load

Syntax

patch load [ slave | slot slot-number ]

View

System view

Default Level

3: Manage level

Parameters

slave: Specifies the standby main board.

slot slot-number: Specifies a board by its slot number. The value range of this argument varies with the device model.

Description

Use the patch load command to load the patch file on the Flash to the memory patch area of the system.

The patch files of the main board, interface board, and L3+ board are patchmain, patchio, and patchl3plus respectively.

The active main board and the standby main board load their patch files from their own Flash. The administrator needs to ensure the consistency of the patch files on the active and standby main boards.

If you execute this command without specifying slave or slot-number, the command loads the patch file to the active main board.

Examples

# Load the patch file for board 3.

<Sysname> system-view

[Sysname] patch load slot 3

patch run

Syntax

patch run patch-number [ slave | slot slot-number ]

View

System view

Default Level

3: Manage level

Parameters

patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used.

slave: Specifies the standby main board.

slot slot-number: Specifies a board by its slot number. The value range of this argument varies with the device model.

Description

Use the patch run command to confirm the running of the specified patch and all the ACTIVE patches before the specified patch number.

This operation is applicable to patches in the ACTIVE state only.

If the running of a patch is confirmed, after the system reboots, the original ACTIVE patches are still ACTIVE and take effect.

If you execute this command without specifying slave or slot-number, the command confirms the running of the specified patch(es) on the active main board.

Examples

# Confirm the running of patch 3 and all the ACTIVE patches before patch 3 on board 5.

<Sysname> system-view

[Sysname] patch run 3 slot 5

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网