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
Parameters
- (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 partition and system IP addresses and required for all other IP addresses.
- (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.
- (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.
- (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
40characters. - (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.
- (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
40characters. - (Optional) Sets the virtual local area network (VLAN) ID for a IPv4 or IPv6 address. The value can be set between 1 - 4095.
- (Optional) Specifies that an IP address is being shared between multiple portsets.
- (Optional) Specifies that the command creates a management portset, configures an IP address, and adds the IP to the newly created management portset.
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
the second system IP address.
Note: This command is available during the upgrade
process.
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 [1], successfully created
An invocation example to configure cluster IP (system IP)
mkip -ip 9.71.251.22 -gw 9.71.251.1 -prefix 24 -port 1 -portset 72
The resulting output:
IP Address, id [2], successfully created
An invocation example to configure management IP (Partition IP)
mkip -ip 9.71.251.22 -gw 9.71.251.1 -prefix 24 -portset 5
The resulting output:
IP Address, id [3], successfully created
An invocation example to creates a management portset and configure the management IP
mkip -ip 192.168.10.100 -gw 192.168.10.1 -prefix 24 -mkmanagementportset
The resulting output:
IP Address, id [4], successfully created
