efa mgmt subinterface staticip add
Sets static IP addresses for a subinterface.
Syntax
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 or 2000::1/64
- --ip2 ip2
- Second static IP address. Example: 192.168.10.2/32 or 2000::2/64
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. Static IP addresses can be IPv4 or IPv6, or a combination of IPv4 and IPv6.
Examples
efa mgmt subinterface staticip add –subinterface sub1 --ip1 10.10.10.1/24 --ip2 10.10.10.2/24 efa mgmt subinterface staticip add –subinterface sub1 --ip1 2000::1/64 --ip2 2000::2/64 efa mgmt subinterface staticip add –subinterface sub1 --ip1 10.10.10.1/24 --ip2 2000::1/64