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 <int-id> --ip1 <ip-addr/mask> --ip2 <ip-addr/mask>
  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