Updating a VNIC

Update a specified VNIC.

    1. Confirm you're viewing the compartment that contains the Compute instance you're interested in.
    2. Open the navigation menu and click Compute. Under Compute, click Instances.
    3. Click the name of the instance to view its details.
    4. Under Resources, click Attached VNICs.
      The primary VNIC and any secondary VNICs attached to the instance are displayed.
    5. For the VNIC you want to edit, click the Actions menu (Actions Menu), and then click Edit VNIC.
    6. Make your changes. Avoid entering confidential information. Then, click Save Changes.
  • Use the oci network vnic update command and required parameters to update the specified VNIC:

    oci network vnic update --vnic-id ocid ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateVnic operation to update the specified VNIC.