mkip

Use the mkip command to create a new IP address and associate it with an existing portset. You can create one IP address for each node, port, and portset.

Syntax

Read syntax diagramSkip visual syntax diagram mkip -nodenode_namenode_id -port port_id -portsetportset_nameportset_id -ip ipv4_addressipv6_address -prefix subnet_prefix -gwgateway-vlanvlan_id-shareip

Parameters

-node node_name | node_id
(Optional) Specifies which node has the ethernet port that the IP address is being assigned to. Value can be in decimal of 64 bits.
Note: Node parameter is optional for system IP addresses and required for all other IP addresses.
port_id
(Required) Specifies the port on which changes are applicable. The ID can be a value in the range 1 - 28.
Note: Management-only port refers to dedicated ethernet ports for storage management.
-portset portset_id | portset_name
(Optional) Specifies the portset ID or name that the IP address is being assigned to. The portset ID value is of 0 - 63, 72 and the portset name consists of a string of 64 characters.
-ip ipv4_address | ipv6_address
(Required) Specifies the IPv4 address or IPv6 address. The value consists in the standard format for IPv4 address, or IPv6 address of a string of 40 characters.
-prefix subnet_prefix
(Required) Specifies the prefix of the subnet. The value for IPv4 addresses can range from 1 to 31. The value for IPv6 addresses can range from 1 to 127.
-gw gateway
(Optional) Specifies the IPv4 or IPv6 gateway address. The value consists in the standard format for IPv4 address, or IPv6 address of a string of 40 characters.
-vlan vlan_id
(Optional) Sets the virtual local area network (VLAN) ID for a IPv4 or IPv6 address. The value can be set between 1 - 4095.
-shareip
(Optional) Specifies that an IP address is being shared between multiple portsets.
Note: Restricted users can create, modify, or delete IP addresses for portsets that they own. Restricted users can view but are not allowed to create, modify, or delete IP addresses for portsets that have global ownership.
Note: The portset that is specified must be of the type ethernet.
Note: The mkip command can now be used to configure second system IP address.

An invocation example

mkip -node node1 -port 1 -portset myportset -ip 10.0.1.1 -prefix 24 -vlan 1001

The resulting output:

IP Address, id [0], successfully created