Listing the 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.
- In the Console, confirm you're viewing the compartment that contains the VCN whose LPGs you want to list. For information about compartments and access control, see Access Control.
- Open the navigation menu , select Networking, and then select Virtual cloud networks.
- Select the name of the VCN whose LPGs you want to list.
- 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.