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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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

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

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

Document ID: EDOC1000138382

Views: 311341

Downloads: 38

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