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

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by DeviceManager, 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).
add security_rule

add security_rule

Function

The add security_rule command is used to add a security rule to control the maintenance terminals that attempt to access the storage system.

Format

add security_rule ip_list=?

Parameters

Parameter

Description

Value

ip_list=?

IP address whitelist of the security rule. Only the maintenance terminals whose IP addresses are in the whitelist can access the storage system.

The value can either be an IP address or an IP address segment. For an IP address segment, the value must be expressed in the following format: start IP address-end IP address. For example:

  • IP address: 192.168.3.5.
  • IP address segment: 192.168.3.5-192.168.3.32.

Level

Administrator

Usage Guidelines

  • Only the maintenance terminals whose IP addresses are in the whitelist of the security rule can access the storage system.
  • The whitelist takes effective only after you enable the security rule by running "change security_rule enabled".

Example

  • Add IP address "192.168.6.5" to the whitelist of the security rule.
    admin:/>add security_rule ip_list=192.168.6.5 
    CAUTION: You are about to add an IP address white list. This operation will make the IP addresses in this white list able to access the storage system when the IP address security rule is enabled. 
    Suggestion: Confirm that you need to add this IP address white list and the IP addresses in the white list are correct. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.
  • Add IP address segment "192.168.7.3" to "192.168.7.46" to the whitelist of the security rule.
    admin:/>add security_rule ip_list=192.168.7.3-192.168.7.46 
    CAUTION: You are about to add an IP address white list. This operation will make the IP addresses in this white list able to access the storage system when the IP address security rule is enabled. 
    Suggestion: Confirm that you need to add this IP address white list and the IP addresses in the white list are correct. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 319789

Downloads: 41

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