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 9000 V5 7.0 Command Reference 03

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

create system subnet

Function

The create system subnet command is used to create subnet information.

Format

create system subnet <name> <Ip_Address_Style> <IPv4_Mask> <DNS_IPv4_Server> <IPv4_GateWay> [description=?] [enabledVlanTag=?] <vlanID>

create system subnet <name> <Ip_Address_Style> <IPv6_Prefix> <DNS_IPv6_Server> <IPv6_GateWay> [description=?] [enabledVlanTag=?] <vlanID>

Parameters

Parameter

Description

Value

name Subnet name.

The value contains 1 to 127 characters, including letters, digits, hyphens (-), underscores (_), and periods (.). It must start with a letter and cannot end with an underscore (_), hyphen (-), or period (.).

Ip_Address_Style Ip address style.

IPv4 or IPv6.

IPv4_Mask Subnet IPv4 mask.

The value is a character string in the format of a mask.

DNS_IPv4_Server DNS IPv4 address on a subnet.

The value is a character string in the format of an IPv4 address.

IPv4_GateWay Subnet IPv4 gateway.

The value is a character string in IPv4 address format.

IPv6_Prefix Subnet IPv6 prefix.

The value is an integer ranging from 1 to 128.

DNS_IPv6_Server DNS IPv6 address on a subnet.

The value is a character string in the format of an IPv6 address.

IPv6_GateWay Subnet IPv6 gateway.

The value is a character string in IPv6 address format.

description Description.

The value contains 1 to 255 characters.

enabledVlanTag Whether VLAN is enabled.
  • True: VLAN is enabled.
  • False: VLAN is disabled.
vlanID VLAN ID.

The value is an integer ranging from 2 to 4094.

Level

Device administrator

Usage Guidelines

None

Example

Create subnet information.

 
admin:/>create system subnet subnettest IPv4 255.255.0.0 192.168.52.222 192.168.0.1 description=OMRPTest enabledVlanTag=false
Command executed successfully.
 

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24797

Downloads: 7

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