All Products
Search
Document Center

Cloud Enterprise Network:DescribeCenChildInstanceRouteEntries

Last Updated:Sep 11, 2026

Invokes the DescribeCenChildInstanceRouteEntries operation to query the route entries of a network instance in a Cloud Enterprise Network (CEN) instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cen:DescribeCenChildInstanceRouteEntries

get

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

None None

Request parameters

Parameter

Type

Required

Description

Example

CenId

string

Yes

The CEN instance ID.

cen-7qthudw0ll6jmc****

ChildInstanceId

string

Yes

The network instance ID.

vpc-bp18sth14qii3pnvo****

ChildInstanceType

string

Yes

The type of the network instance. Valid values:

  • VPC: virtual private cloud (VPC).

  • VBR: virtual border router (VBR).

  • CCN: Cloud Connect Network (CCN).

  • ECR: Express Connect Router (ECR).

Valid values:

  • ECR :

    专线网关

  • VPN :

    VPN 网关

  • VBR :

    边界路由器

  • VPC :

    专有网络

  • CCN :

    云连接网

VPC

Status

string

No

The status of the route entry. Valid values:

  • Active: active.

  • Candidate: candidate.

  • Rejected: rejected.

  • Prohibited: prohibited.

  • All (default): queries route entries in all states of the network instance.

Active

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page for paging queries. Default value: 10. Valid values: 1 to 500.

10

ChildInstanceRegionId

string

No

The region ID of the network instance.

You can call the DescribeChildInstanceRegions operation to obtain the region ID.

cn-hangzhou

ChildInstanceRouteTableId

string

No

The routing table ID of the network instance. If you do not specify a routing table ID when querying route entries of a VPC-connected instance, the system queries route entries in the system routing table of the VPC-connected instance by default.

vtb-p0wxx3apzgn6uqp3r****

Response elements

Element

Type

Description

Example

object

PageSize

integer

The number of entries per page for paging queries.

10

RequestId

string

The request ID.

17A57456-EF48-419D-9AE6-9B03D9996018

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of entries.

4

CenRouteEntries

object

CenRouteEntry

array<object>

The route entry information.

array<object>

Status

string

The status of the route entry. Valid values:

  • Active: active.

  • Candidate: candidate.

  • Rejected: rejected.

  • Prohibited: prohibited.

Active

Type

string

The destination type of the route entry. Valid values:

  • CEN: a route entry propagated through CEN.

  • System: a system route.

  • Custom: a custom route.

CEN

PublishStatus

string

The publish status of the route entry in CEN. Valid values:

  • Published: published.

  • NonPublished: not published.

Published

NextHopType

string

The next hop type of the route entry. Valid values:

  • Instance: ECS instance.

  • HaVip: high availability (HA) virtual IP address (HAVIP).

  • RouterInterface: router interface.

  • NetworkInterface: elastic network interface (ENI).

  • VpnGateway: VPN gateway.

  • IPv6Gateway: IPv6 gateway.

  • Ipv4Gateway: IPv4 gateway.

  • NatGateway: NAT gateway.

  • Attachment: network instance connection.

  • service: cloud service.

  • VBR: virtual border router (VBR).

  • CCN: Cloud Connect Network (CCN).

  • VPC: virtual private cloud (VPC).

  • local: The current route entry is a system route of the network instance and has no next hop.

  • TR: transit router.

  • BlackHole: The current route entry is a blackhole route and has no next hop.

  • EcRouterInterface: Express Connect router interface.

  • HealthCheck: health check.

  • AS: CCN access gateway.

  • classicLink: classic network instance.

  • GatewayEndpoint: gateway endpoint.

  • CPE: on-premises data center connected to the VBR.

VBR

OperationalMode

boolean

Indicates whether the route entry can be published to or withdrawn from CEN. Valid values:

  • true: The route entry can be published or withdrawn.

  • false: The route entry cannot be published or withdrawn.

true

NextHopRegionId

string

The region ID of the instance associated with the next hop of the route entry.

cn-hangzhou

NextHopInstanceId

string

The ID of the instance associated with the next hop of the routing entry.

vbr-bp13gtbhdp0pfqg6s****

DestinationCidrBlock

string

The destination CIDR block of the route entry.

10.0.0.0/24

RouteTableId

string

The route table ID.

vtb-bp1r9pvl4xen8s9ju****

CenRouteMapRecords

object

CenRouteMapRecord

array<object>

The routing policy information matched by the route entry.

object

RouteMapId

string

The routing policy ID.

cenrmap-w4yf7toozfol3q****

RegionId

string

The region ID where the routing policy is applied.

cn-hangzhou

Conflicts

object

Conflict

array<object>

The information about the conflicting route entry.

object

Status

string

The cause of the route entry conflict. Valid values:

  • conflict: The route entries have the same destination CIDR block.

  • overflow: The number of route entries in the route table of another network instance exceeds the limit.

conflict

DestinationCidrBlock

string

The destination CIDR block of the conflicting route entry.

192.168.1.0/24

InstanceId

string

The network instance ID of the peer that has the conflicting routing entry.

ccn-0q3b7oviikmm9h****

InstanceType

string

The type of the peer network instance that has the conflicting route entry. Valid values:

  • VPC: virtual private cloud (VPC).

  • VBR: virtual border router (VBR).

  • CCN: Cloud Connect Network (CCN).

  • ECR: Express Connect Router (ECR).

CCN

RegionId

string

The region ID of the peer network instance that has the conflicting route entry.

ccn-cn-shanghai

Communities

object

Community

array

The list of Community attribute values of the route entry.

string

The Community attribute value of the route entry.

65501:1

AsPaths

object

AsPath

array

The list of AS Path attribute values of the route entry.

string

The AS Path attribute value of the route entry.

65501

Examples

Success response

JSON format

{
  "PageSize": 10,
  "RequestId": "17A57456-EF48-419D-9AE6-9B03D9996018",
  "PageNumber": 1,
  "TotalCount": 4,
  "CenRouteEntries": {
    "CenRouteEntry": [
      {
        "Status": "Active",
        "Type": "CEN",
        "PublishStatus": "Published",
        "NextHopType": "VBR",
        "OperationalMode": true,
        "NextHopRegionId": "cn-hangzhou",
        "NextHopInstanceId": "vbr-bp13gtbhdp0pfqg6s****",
        "DestinationCidrBlock": "10.0.0.0/24",
        "RouteTableId": "vtb-bp1r9pvl4xen8s9ju****",
        "CenRouteMapRecords": {
          "CenRouteMapRecord": [
            {
              "RouteMapId": "cenrmap-w4yf7toozfol3q****",
              "RegionId": "cn-hangzhou"
            }
          ]
        },
        "Conflicts": {
          "Conflict": [
            {
              "Status": "conflict",
              "DestinationCidrBlock": "192.168.1.0/24",
              "InstanceId": "ccn-0q3b7oviikmm9h****",
              "InstanceType": "CCN",
              "RegionId": "ccn-cn-shanghai"
            }
          ]
        },
        "Communities": {
          "Community": [
            "65501:1"
          ]
        },
        "AsPaths": {
          "AsPath": [
            "65501"
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.
404 InvalidRouteTableId.NotFound The specified RouteTableId is not found. The specified route table ID does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.