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 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

Function

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

Format

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

Parameters

Parameter

Description

Value

name=?

Name of a port group that you want to create.

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

port_group_id=?

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.

port_type=?

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.

port_id_list=?

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 (,).

Level

Administrator

Usage Guidelines

None.

Example

Create port group "test_portgroup".

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

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 114234

Downloads: 134

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