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.


Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the 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.
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 port_group

create port_group


The create port_group command is used to create a port group.


create port_group name=? [ port_group_id=? ] [ port_type=? ] [ port_id_list=? ]






Name of a port group that you want to create.

The value contains 1 to 31 digits, letters, underscores (_), hyphens (-), and periods (.).


ID of a port group that you want to create.

The value ranges from 0 to n minus one. n indicates the maximum number of port groups.

If you do not specify this parameter, the system automatically allocates an ID for a new port group.


Type of a port that you want to add to a port group. If you specify this parameter, you must specify parameter port_id_list=?.

The value can be "FC", "ETH", "FCoE" or "IB", where:

  • "FC": indicates Fibre Channel ports.
  • "ETH": indicates ETH ports.
  • "FCoE": indicates FCoE ports.
  • "IB": indicates IB ports.


ID of a port that you want to add to a port group. This parameter is available only when you specify parameter port_type=?.

  • If an InfiniBand port is used, run "show ib_port general" to obtain the value. If other ports are used, run "show port general" to obtain the value.
  • When multiple ports need to be added, separate these port IDs with commas (,).



Usage Guidelines



Create port group "test_portgroup".

admin:/>create port_group name=test_portgroup 
Create port group successfully.

System Response


Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 122162

Downloads: 151

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