No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
protect

protect

Function

The protect command is used to enable or disable write protection for the flash memory.

Format

protect

Parameters

None

Modes

serial port mode

Usage Guidelines

  • The "protect on start end" command is used to enable write protection on the flash memory from the start address to the end address.
  • The "protect on start +len" command is used to enable write protection for a length of flash memory from the start address.
  • The "protect on N:SF[-SL]" command is used to enable write protection for the flash bank. "N" indicates the flash memory bank ID, "SF" indicates the ID of the start sector to be protected, and "SL" indicates the ID of the end sector to be protected.
  • The "protect on bank N" is used to enable write protection for a certain flash bank. "N" indicates the flash memory bank ID.
  • The "protect on <part-id>" command is used to enable write protection for a certain flash partition. "id" indicates the flash memory partition ID.
  • The "protect on all" command is used to enable write protection for all flash memory.
  • The "protect off start end" command is used to disable write protection on the flash memory from the start address to the end address.
  • The "protect off start +len" command is used to disable write protection for a length of flash memory from the start address.
  • The "protect off N:SF[-SL]" command is used to disable write protection for the flash bank. "N" indicates the flash memory bank ID, "SF" indicates the ID of the start sector to be protected, and "SL" indicates the ID of the end sector to be protected.
  • The "protect off bank N" is used to disable write protection for a certain flash bank. "N" indicates the flash memory bank ID.
  • The "protect off <part-id>" command is used to disable write protection for a certain flash partition. "id" indicates the flash memory partition ID.
  • The "protect off all" command is used to disable write protection for all flash banks.

Example

  • Disable write protection for the flash bank.
    Hi1710_UBOOT> protect off bank 1                                                                                                     
    Un-Protect Flash Bank # 1
  • Enable write protection for the flash bank.
    Hi1710_UBOOT> protect on bank 1                                                                                                      
    Protect Flash Bank # 1 

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 584574

Downloads: 233

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next