Managing Security Attributes for a VNIC

Learn to manage security attributes for a VNIC.

For more information about Security Attributes and Zero Trust Packet Routing, see Zero Trust Packet Routing.

    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. Click the name of the VNIC you're interested in.
    6. Click the Security attributes tab to view or edit the existing tags. Or click Add security attributes to add new ones.
  • Use the oci network vnic update command and required parameters to manage security attributes for a VNIC:

    oci network vnic update --vnic-id ocid --security-attributes securityattributes ... [OPTIONS]

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

  • Run the UpdateVnic operation to manage security attributes for a VNIC.