Getting information about trunk links
Written by
Updated at July 3, 2025
Note
You need the cic.viewer role to run this operation.
CLI
-
To get information about trunks, see the description of the CLI command:
yc cic trunk get --help -
Get a list of trunks in the specified folder:
yc cic trunk list --folder-id b1gqf2hjizv2jw******Result:
-
Get information about the trunk by specifying its ID obtained in the previous step:
# yc cic trunk get <trunk_ID> yc cic trunk get cf3td**********nufvrResult:
Where:
id: Trunk ID.name: Trunk name.description: Trunk description.cloud_id: ID of the cloud in whose folder the trunk was created.folder_id: ID of the cloud folder containing the trunk.region_id: Region of the cloud containing the trunk.- Trunk type:
single_port_direct_joint: Direct trunk:transceiver_type: Transceiver type in use.port_name: Port number(s) allocated for the trunk on the network device.access_device_name: Name of the network device with ports allocated for the trunk.
lag_direct_joint: Aggregated (LAG) direct trunk:transceiver_type: Transceiver type in use.lag_id: Aggregated connection ID.port_names: List of physical ports in the LAG.
partner_joint_info: Partner trunk:partner_id: Partner ID.service_key: Partner trunk service key.
point_of_presence_id: Point of presence ID.capacity: Trunk capacity.status: Trunk state. Target state:ACTIVE.created_at: Date and time of trunk creation.