Getting information about private connections
Written by
Updated at February 7, 2025
CLI
-
See the description of the CLI command to get the information about private connections:
yc cic private-connection get --help
-
Get a list of private connections in the specified folder:
yc cic private-connection list --folder-id b1gqf2hjizv2jw******
Result:
+----------------------+--------------------+----------------------+ | ID | NAME | TRUNK CONNECTION ID | +----------------------+--------------------+----------------------+ | euuiog88zphgsq****** | customer-name-prc1 | euuqqctbrflq3i****** | | euucr7p47329kq****** | customer-name-prc2 | euuvdjl5shd0fv****** | +----------------------+--------------------+----------------------+
-
Get information about the private connection by specifying its ID obtained in the previous step:
# yc cic private-connection get <private_connection_ID> yc cic private-connection get euuiog88zphgsq******
Result:
id: euuiog88zphgsq****** name: customer-name-prc1 folder_id: b1gqf2hjizv2jw****** region_id: ru-central1 trunk_connection_id: euuqqctbrflq3i****** vlan_id: "1531" ipv4_peering: peering_subnet: 10.211.10.0/30 peer_ip: 10.211.10.1 cloud_ip: 10.211.10.2 peer_bgp_asn: "64515" cloud_bgp_asn: "200350"
Where:
id
: Private connection ID.name
: Private connection name.folder_id
: ID of the cloud folder the private connection was created in.region_id
: Region of the cloud the private connection was created in.trunk_connection_id
: Trunk connection ID the private connection belongs to.vlan_id
: VLAN ID for the private connection- IP and BGP connectivity parameters for the private connection’s point-to-point subnet:
peering_subnet
: Point-to-point subnet for BGP peering.peer_ip
: IP address of the point-to-point (peered) subnet on the customer's equipment.cloud_ip
: IP address of the point-to-point (peered) subnet on the Yandex Cloud equipment.peer_bgp_asn
: BGP ASN on the customer's equipment.cloud_bgp_asn
: BGP ASN on the Yandex Cloud equipment.