Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Router
    • All guides
    • Getting information about a routing instance
    • Getting a list of operations in a routing instance
    • Creating a routing instance
    • Updating parameters of a routing instance
    • Managing networks and IP prefixes in a routing instance
    • Adding a private connection to a routing instance
    • Deleting a private connection from a routing instance
    • Deleting a routing instance
    • Cloud Interconnect tutorials
    • All use cases
    • On-premises without redundancy and one cloud network
    • On-premises without redundancy and multiple cloud networks
    • On-premises with redundancy and one cloud network
    • On-premises with redundancy and multiple cloud networks
    • Two separate route instances without on-premises redundancy
    • Even redistribution of on-premise traffic (Active-Active)
    • Prioritizing on-premise traffic based on direction (Active-Standby)
    • Reserving an on-premise connection via a VPN gateway (PRC)
    • Prioritizing a static VPC route over routes from PRC
    • Even traffic distribution for route 0.0.0.0/0
    • Prioritizing traffic by direction for route 0.0.0.0/0
    • Connectivity for two cloud networks
    • Connectivity for two cloud networks and on-premises
  • Access management
  • Release notes
  1. Step-by-step guides
  2. Getting information about a routing instance

Getting information about a routing instance

Written by
Yandex Cloud
Updated at June 24, 2026
View in Markdown

Note

You need the cloud-router.viewer role for this operation.

CLI

You can view information about a routing instance using the following commands:

  • yc cloudrouter routing-instance get: Allows you to get information about a routing instance using its name or ID.
  • yc cloudrouter routing-instance get-by-cic-private-connection-id: Allows you to get information about a routing instance using the ID of the Yandex Cloud Interconnect private connection to the routing instance.
  • yc cloudrouter routing-instance get-by-vpc-network-id: Allows you to get information about a routing instance using the ID of the cloud network the routing instance ensures connectivity with.

yc cloudrouter routing-instance get

  1. See the description of the CLI command to get routing instance information:

    yc cloudrouter routing-instance get --help
    
  2. Get the list of routing instances in the specified folder:

    yc cloudrouter routing-instance list \
      --folder-id <folder_ID>
    

    Result:

    +----------------------+--------------------+--------+-----------------------+
    |          ID          |        NAME        | STATUS | PRIVATE CONNECTION ID |
    +----------------------+--------------------+--------+-----------------------+
    | cf3jqdc4gjpx******** | routing-instance   | ACTIVE | euuiog88zphg********, |
    |                      |                    |        | euucr7p47329********  |
    +----------------------+--------------------+--------+-----------------------+
    
  3. Get information about a routing instance by providing its ID obtained in the previous step:

    yc cloudrouter routing-instance get cf3jqdc4gjpx********
    
    Result:

    Where:

    • id: Routing instance ID.
    • name: RI name.
    • description: RI description.
    • folder_id: ID of the cloud folder the RI was created in.
    • region_id: ID of the region the RI was created in.
    • vpc_info: Information about virtual networks and their IP prefixes with the prefixes grouped by availability zone. A routing instance may have one or more connected virtual networks.
    • cic_private_connection_info: Information about private connections to the RI.
    • status: RI state. It may take the following values:
      • ACTIVE: RI is active.
      • CREATING: RI is being created.
      • UPDATING: RI is being updated.
      • DELETING: RI is being deleted.

yc cloudrouter routing-instance get-by-cic-private-connection-id

  1. See the description of the CLI command to get routing instance information:

    yc cloudrouter routing-instance get-by-cic-private-connection-id --help
    
  2. Get the list of private connections in the specified folder:

    yc cic private-connection list \
      --folder-id <folder_ID>
    

    Result:

    +----------------------+------+----------------------+
    |          ID          | NAME | TRUNK CONNECTION ID  |
    +----------------------+------+----------------------+
    | cf3r5ke20fo0******** |      | cf3dcodot14p******** |
    | cf3r3mfr4bm5******** |      | cf3dcodot14p******** |
    +----------------------+------+----------------------+
    
  3. Get information about a routing instance by providing the ID of the private connection made to it:

    yc cloudrouter routing-instance get-by-cic-private-connection-id \
      --cic-prc-id cf3r5ke20fo0********
    
    Result:

    Where:

    • id: Routing instance ID.
    • name: RI name.
    • description: RI description.
    • folder_id: ID of the cloud folder the RI was created in.
    • region_id: ID of the region the RI was created in.
    • vpc_info: Information about virtual networks and their IP prefixes with the prefixes grouped by availability zone. A routing instance may have one or more connected virtual networks.
    • cic_private_connection_info: Information about private connections to the RI.
    • status: RI state. It may take the following values:
      • ACTIVE: RI is active.
      • CREATING: RI is being created.
      • UPDATING: RI is being updated.
      • DELETING: RI is being deleted.

yc cloudrouter routing-instance get-by-vpc-network-id

  1. See the description of the CLI command to get routing instance information:

    yc cloudrouter routing-instance get-by-vpc-network-id --help
    
  2. Get the list of cloud networks in the specified folder:

    yc vpc network list \
      --folder-id <folder_ID>
    

    Result:

    +----------------------+-------------+
    |          ID          |    NAME     |
    +----------------------+-------------+
    | enpcfncr6uld******** | my-network1 |
    | enpcuntrql7d******** | my-network2 |
    +----------------------+-------------+
    
  3. Get information about a routing instance by providing the ID of the cloud network the it ensures connectivity with:

    yc cloudrouter routing-instance get-by-vpc-network-id \
      --vpc-id enpcfncr6uld********
    
    Result:

    Where:

    • id: Routing instance ID.
    • name: RI name.
    • description: RI description.
    • folder_id: ID of the cloud folder the RI was created in.
    • region_id: ID of the region the RI was created in.
    • vpc_info: Information about virtual networks and their IP prefixes with the prefixes grouped by availability zone. A routing instance may have one or more connected virtual networks.
    • cic_private_connection_info: Information about private connections to the RI.
    • status: RI state. It may take the following values:
      • ACTIVE: RI is active.
      • CREATING: RI is being created.
      • UPDATING: RI is being updated.
      • DELETING: RI is being deleted.

Was the article helpful?

Previous
All guides
Next
Getting a list of operations in a routing instance
© 2026 Direct Cursus Technology L.L.C.