Viewing CIDR or Prefix Utilization of a Subnet

View the percentage of IP addresses used from an IPv4 CIDR block or IPv6 prefix assigned to a subnet.

    1. Open the navigation menu  and select Networking. Under IP management, select IP Address Insights.
    2. Use filters to refine the search. You can combine filters to narrow down the search results. Based on the selected filters, the Console displays IP address insights of resources. For more information about the available filters, see Viewing IP Address Insights
    3. Expand the name of the VCN that contains the subnet.
    4. Select the name of the subnet to open the subnet details page.
    5. Select the IP administration tab.
    6. Under Resources, select CIDR/Prefix utilization.
    7. In the CIDR/Prefix utilization section, view the list of IPv4 CIDR blocks and IPv6 prefixes the subnet uses along with the percentage of IPs used from the CIDR block or prefix assigned to the subnet.
  • Use the network ipam get-subnet-cidr-utilization command and required parameters to view the percentage of IP addresses used from an IPv4 CIDR block or IPv6 prefix assigned to a subnet:

    oci network ipam get-subnet-cidr-utilization --subnet-id subnet_ID_OCID
                            

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

  • For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

    Run the GetSubnetCidrUtilization operation to view the percentage of IP addresses used from an IPv4 CIDR block or IPv6 prefix assigned to a subnet.