Listing LPGs

List the local peering gateways (LPGs) in a virtual cloud network (VCN).

A VCN can have several LPGs, and each one can be used to connect to one and only one other VCN. See Gateway Limits for more details on current LPG limits.

    1. On the Virtual Cloud Networks list page, select the VCN that contains the gateway that you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • On the Gateways tab, go to the Local Peering Gateways section.
      • Under Resources, select Local Peering Gateways.
  • Use the network local-peering-gateway list command and required parameters to list LPGs in a compartment:

    oci network local-peering-gateway list --compartment-id ocid ... [OPTIONS]

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

  • Run the ListLocalPeeringGateways operation to list the LPGs in the specified compartment.