Moving a VLAN Between Compartments
Move a VLAN associated with an SDDC in VMware Solution from one compartment to another.
- Open the navigation menu, click Networking, and then click Virtual cloud networks.
- Click the name of the VCN that contains the VLAN that you want to move. If you don't see the VCN listed, ensure that the correct compartment is selected.
- Under Resources, click VLANs.
- Click the name of the VLAN to view details about it.
- Click Move resource.
- Choose the destination compartment from the list.
- Click Move resource.
Use the vlan change-compartment command and required parameters to move the VLAN to another compartment:
oci ocvs vlan change-compartment --compartment-id destination_compartment_OCID --vlan-id vlan_id [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ChangeVlanCompartment operation to move a VLAN to different compartment.