Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • 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 virtual router
    • Getting a list of operations for a virtual router
    • Creating a virtual router
    • Changing the virtual router parameters
    • Managing networks and IP prefixes in a virtual router
    • Adding a private connection to a virtual router
    • Deleting a private connection from a virtual router
    • Deleting a virtual router
    • 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 virtual routers 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
  • Pricing policy
  • Release notes
  1. Step-by-step guides
  2. Getting information about a virtual router

Getting information about a virtual router

Written by
Yandex Cloud
Updated at August 21, 2026
View in Markdown

Note

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

Management console
CLI
  1. In the management console, select the folder containing the virtual router.
  2. Navigate to Cloud Router.
  3. Select the virtual router.
  4. The Overview tab will display information about the virtual router, along with its routed networks and prefixes.

You can view information about a virtual router using the following commands:

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

yc cloudrouter routing-instance get

  1. See the description of the CLI command for getting virtual router info:

    yc cloudrouter routing-instance get --help
    
  2. Get a list of virtual routers in a given 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 virtual router 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 for getting virtual router info:

    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 virtual router 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 for getting virtual router info:

    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 virtual router by specifying the ID of the cloud network to which it provides network connectivity:

    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 for a virtual router
© 2026 Direct Cursus Technology L.L.C.