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


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


Advanced O&M 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, 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).
create firewall ipv4_config

create firewall ipv4_config


The create firewall ipv4_config command is used to create IPv4 firewall rules.


create firewall ipv4_config target_ip=? mask=? prohibited_service=? [ id=? ]





target_ip=? IP address or segment for which a firewall needs to be configured.


mask=? IP address mask or segment mask for which a firewall needs to be configured.


prohibited_service=? Service that needs to be disabled.

The value can be cifs, nfs, http, ftp, or ndmp.

id=? Firewall ID.

The parameter value varies with product models.


Developer view

Usage Guidelines

After this operation, disabled services cannot be used on the specified IP address or segment.


Add a firewall whose rule ID is "1", destination IP address is "", subnet mask is "", and disabled services are "http,ftp".

developer:/>create firewall ipv4_config target_ip= mask= prohibited_service=http,ftp id=1 DANGER: You are about to add a firewall for a specific IP address or segment.
After this operation, disabled services cannot be used on the specified IP address or segment.
Before performing this operation, ensure that the specified IP address and the services to be disabled are correct.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response


Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 764265

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next