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

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).
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=?.

  • To obtain the value, run "show port general".
  • 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-09-02

Document ID: EDOC1000181601

Views: 320119

Downloads: 41

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