Configure Static IP Addresses for Management Sub interfaces

You can use the XCO CLI to add, delete, and show the static IP addresses for management sub interfaces.

About this task

Follow this procedure to configure static IP address for management sub interface.

Procedure

  1. To add static IP addresses to a specified sub interface, 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 sub interface, run the following command.
    efa mgmt subinterface staticip remove 
    --subinterface <int-id>
  3. To show all sub interfaces and the IP addresses that are attached to them, run the following command.
    efa mgmt subinterface staticip show