efa mgmt subinterface staticip add

Sets static IP addresses for a subinterface.

Syntax

efa mgmt subinterface staticip add [ --subinterface sub | --ip1 ip1 | --ip2 ip2 ]

Parameters

--subinterface sub
Name of the subinterface for which you want to set static IP addresses.
--ip1 ip1
First static IP address. Example: 192.168.10.1/32
--ip2 ip2
Second static IP address. Example: 192.168.10.2/32

Usage Guidelines

You can assign a maximum of one pair of static IP addresses. Only one subinterface at a time can have static IP addresses.

Examples

$ efa mgmt subinterface staticip add --subinterface sub-200 --ip1 192.168.150.1/24 
--ip2 192.168.150.2/24

Static IP assigned to SubInterface sub-200 successfully

+-------+------------------+
| Node  | IP Address       |
+-------+------------------+
| node1 | 192.168.150.1/24 |
+-------+------------------+
| node2 | 192.168.150.2/24 |
+-------+------------------+
Add SubInterface Static IP
Details