Configure Static IP Addresses for Management Subinterfaces

Use the EFA CLI to add, delete, and show the static IP addresses for management subinterfaces.

Procedure

  1. To add static IP addresses to a specified subinterface, run the following command.
    efa mgmt subinterface staticip add [ --subinterface sub | --ip1 ip1 | --ip2 ip2]

    Here ip1 and ip2 can be either IPv4 or IPv6 address. All other assumptions and limitations for IPv6 static IPs are same as IPv4 static IPs. You can also configure a mix of IPv4 and IPv6 address for ip1 and ip2.

  2. To remove static IP addresses from a specified subinterface, run the following command.
    efa mgmt subinterface staticip remove 
    --subinterface <int-id>
  3. To show all subinterfaces and the IP addresses that are attached to them, run the following command.
    efa mgmt subinterface staticip show