Re-advertises an aggregate route.
Operation Description
If you fail to advertise an aggregate route to a virtual private cloud (VPC), you can call the RefreshTransitRouteTableAggregation operation to re-advertise the aggregate route after you troubleshoot the error. If the error is fixed by using one of the following methods, the aggregate route is automatically advertised:
- Delete the associated forwarding correlations
- Disable automatic route synchronization
- Delete the VPC route tables
- Delete the aggregate route
You can call the DescribeTransitRouteTableAggregationDetail operation to query whether an aggregate route is advertised.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TransitRouteTableId | string | Yes | The ID of the route table of the Enterprise Edition transit router. | vtb-iq8qgruq1ry8jc7vt**** |
TransitRouteTableAggregationCidr | string | Yes | The destination CIDR block of the aggregate route. | 192.168.53.0/24 |
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The client token can contain only ASCII characters. NoteIf you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each request. | 02fb3da4-130e-11e9-8e44-001**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InstanceNotExist.TransitRouteTable | The transitRouter route table is not exist. | The error message returned because the specified transit router route table does not exist. |
400 | IncorrectStatus.TransitRouteTable | The status of transitRouter route table is invalid. | The error message returned because the status of the transit router route table does not support this operation. Try again later. |
400 | InstanceNotExist.AggregationRoute | The aggregation route is not exist. | The error message returned because the aggregated route does not exist. |
400 | InstanceNotExist.TransitRouter | The transitRouter is not exist. | The error message returned because the specified transit router does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-03-10 | The error codes of the API operation change. | |||||
|