Updating a VNIC
On Compute Cloud@Customer, you can update the VNIC name, the host name, and whether to disable source/destination checks. You can add the VNIC to an NSG and remove the VNIC from an NSG.
Avoid entering confidential information in names.
- In the Compute Cloud@Customer Console navigation menu, click Compute, then click Instances.
- At the top of the page, select the compartment that contains the instance for which you want to update a VNIC.
-
Click the name of the instance.
The instance details page is displayed.
-
Under Resources, click Attached VNICs.
The list of attached VNICs for that instance is displayed.
-
For the VNIC that you want to update, click the Actions menu () and then click Edit.
-
In the Update VNIC dialog box, update the VNIC name, the host name, whether to disable source/destination checks, or whether to attach this VNIC to an NSG or detach this VNIC from an NSG.
See Creating and Attaching a Secondary VNIC for information about the Skip Source/Destination Check selection.
If you change the Enable Network Security Groups box from cleared to selected, then you must select an NSG from the drop-down list. You might need to change the compartment to find the NSG you want.
If the Enable Network Security Groups box is already checked, then you can click Add Another NSG to attach to another NSG.
If more than one NSG is already listed, you can click the trash can next to an existing NSG to detach this VNIC from that NSG. To detach the last NSG or all NSGs, clear the Enable Network Security Groups box.
See Controlling Traffic with Network Security Groups for information about NSGs.
-
Click Update VNIC.
Use the oci network vnic update command and required parameters to update the specified VNIC.
oci network vnic update [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the UpdateVnic operation to update the specified VNIC.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.