Listing DHCP Options Sets

View a list of the Dynamic Host Configuration Protocol (DHCP) options sets in a Oracle Cloud Infrastructure compartment.

    1. On the Virtual cloud networks list page, select the VCN that contains the DHCP options you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. On the details page, select IP administration and find the DHCP Options section.
    All DHCP options for the VCN are displayed in a table.

    Filtering List Results

    Use filters to limit the DHCP options in the list. Perform one of the following actions depending on the options that you see:

    • From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
    • On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.

    Change the order of the items in the list table by using the sort icons next to the column names.

    For information about searching for resources and managing the columns in the list table, if those features are available, see Listing Resources.

    Actions

    To perform an action on a DHCP options set directly from the list table, select an available option from the Actions menu in the row for that DHCP options set:

    To create a DHCP options set, select Create DHCP options.

  • Use the oci network dhcp-options list command and required parameters to view a list of the DHCP options sets in a compartment:

    oci network dhcp-options list --compartment-id <compartment_ocid> [OPTIONS]

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

  • Run the ListDhcpOptions operation to view a list of the DHCP options sets in a compartment.