Tagging a VCN Route Table
Manage tags for a Virtual Cloud Network (VCN) route table.
- Open the navigation menu, click Networking, and then click Virtual cloud networks.
- Click the name of the VCN you're interested in.
- Under Resources, click Route Tables.
- Click a route table's name to view its details.
- Find the route table in the list, click the , and then click Add Tags.
Use the network route-table create command and required parameters to add tags when you create a VCN route table:
oci network route-table create --compartment-id ocid --route-rules rules --vcn-id ocid [--defined-tags | --freeform-tags] tags ... [OPTIONS]
Use the network route-table update command and required parameters to add tags to the specified route table:
oci network route-table update --rt-id ocid [--defined-tags | --freeform-tags] tags ... [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateRouteTable operation to add tags when you create a subnet, and use the definedTags attribute.
Run the UpdateRouteTable operation to add tags when you update a subnet, and use the definedTags or freeformTags attributes.