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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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."
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 logical_port vlan

create logical_port vlan

Function

The create logical_port vlan command is used to create a logical port on a VLAN.

Format

create logical_port vlan name=? vlan_name=? address_family=? ipv4_address=? ipv4_mask=? [ ipv4_gateway=? ] ipv6_address=? ipv6_mask=? [ ipv6_gateway=? ] [ role=? ] [ is_private=? ] [ activation_status=? ] [ failover_enabled=? ] [ failback_mode=? ] [ failover_group_id=? ]

Parameters

Parameter

Description

Value

name=? Name of a logical port.

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

vlan_name=? VLAN name.

To obtain the value, run the "show vlan general" command. The value contains 1 to 63 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

address_family=? Protocol type.

The value can be "IPv4" or "IPv6".

ipv4_address=? IPv4 address of a logical port.

The value is a valid IPv4 address.

ipv4_mask=? IPv4 mask of a logical port.

The value is a valid IPv4 subnet mask.

ipv4_gateway=? IPv4 gateway of a logical port.

The value is a valid IPv4 gateway address.

ipv6_address=? IPv6 address of a logical port.

The value is a valid IPv6 address.

ipv6_mask=? IPv6 mask of a logical port.

The value is a valid IPv6 subnet mask.

ipv6_gateway=? IPv6 getaway of a logical port.

The value must be an IPv6 address.

role=? Logical port role.

The value can be "management" or "service".

is_private=? Whether a logical port is private.

The value can be "yes" or "no".

activation_status=? Whether a logical port is activated.

The value can be "yes" or "no".

failover_enabled=? Whether failover is enabled for a logical port.

The value can be "yes" or "no".

failback_mode=? Failback mode of a logical port.

The value can be "manually" or "automatically".

failover_group_id=? Failover group ID.

The value is an integer between 1 and 1024.

Level

Administrator

Usage Guidelines

  • When "address_family" is set to "IPv4","ipv4_address" must be specified.
  • When "address_family" is set to "IPv4","ipv4_mask" must be specified.
  • When "address_family" is set to "IPv6","ipv6_address" must be specified.
  • When "address_family" is set to "IPv6","ipv6_mask" must be specified.
  • OceanStor 2200 V3 storage system do not support this command.

Example

Create a logical port on a VLAN.

admin:/>create logical_port vlan name=vl1 vlan_name=ENG0.A3.P0.3 address_family=IPv4 ipv4_address=192.168.10.133 ipv4_mask=255.255.0.0 failover_enabled=yes failback_mode=manually
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 240069

Downloads: 169

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