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

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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).
change security_rule enabled

change security_rule enabled

Function

The change security_rule enabled command is used to enable or disable security rules.

Format

change security_rule enabled enabled=?

Parameters

Parameter

Description

Value

enabled=? Switch of security rules.

The value can be "yes" or "no", where:

  • "yes": Security rules will be enabled. Only maintenance terminals in the whitelist can access the storage system.
  • "no": Security rules will be disabled. If the parameter value is set to "no", all maintenance terminals can access the storage system.

Level

Super administrator

Usage Guidelines

NOTE:
If a maintenance terminal has logged in the storage system using the command line interface (CLI) or the DeviceManager but the IP address of the maintenance terminal has not been added to security rules, running this command may disconnect the CLI or the DeviceManager and forbids future login attempts.
  • Only maintenance terminals in security rules can access the storage system.
  • To add the whitelist, run "add security_rule".

Example

  • Enable security rules.

    admin:/>change security_rule enabled enabled=yes
    WARNING: You are about to enable the IP address security rule. This operation will make the storage system accessible to only the IP addresses in the IP address white list.
    Suggestion: Confirm that you need to enable the IP address security rule and the IP addresses in the white list are correct.
    Have you read warning message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Disable security rules.

     admin:/>change security_rule enabled enabled=no
    WARNING: You are about to disable the IP address security rule. After this operation, all users' login to the storage system will not be verified against the white list, and all IP addresses can access the storage system.
    Suggestion: Confirm that you need to disable the IP address security rule.
    Have you read warning message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 272493

Downloads: 1556

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