edit-icon download-icon

ConnectRouterInterface

Last Updated: Apr 09, 2018

Description

The initiator router interface initiates a connection to the receiver router interface.

After this API is called, the router interface changes to the Connecting status. When the connection is established, the router interface changes to the Active status and the two VPCs are interconnected through the intranet.

Note the following before initiating a connection:

  • Only an initiator router interface in the Idle status can initiate a connection.

  • Up to one pair of interconnected router interfaces can be created between any two routers.

  • If there is a delinquent router interface under the account, you cannot initiate a connection.

Request parameters

Name Type Required Description
Action string Yes

The action to perform.

Valid value: ConnectRouterInterface

RegionId string Yes

The region where the router interface is located.

You can obtain the region ID by calling the DescribeRegions API.

RouterInterfaceId string Yes The ID of initiator router interface.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=ConnectRouterInterface
  2. &RegionId=cn-hangzhou
  3. &RouterInterfaceId=ri-sf3rxsf
  4. &<CommonParameters>

Response example

JSON format

  1. {
  2. "RequestId":"4EC47282-1B74-4534-BD0E-403F3EE64CAF"
  3. }
Thank you! We've received your feedback.