Queries the BGP configuration of an SCG5000 or SCG5000-5G device whose version is 3.4.2 or later and has OSPF enabled.
Operation description
You can query the BGP configuration only of SCG5000 and SCG5000-5G devices whose version is 3.4.2 or later and have OSPF enabled.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SagInsId | string | Yes | The ID of the Smart Access Gateway (SAG) instance. | sag-3manef62evrfr6**** |
SagSn | string | Yes | The serial number of the SAG device. | sagf4dk**** |
RegionId | string | Yes | The region ID of the SAG instance. You can call the DescribeRegions operation to query the most recent region list. | cn-shanghai |
CrossAccount | boolean | No | Specifies whether to query only the SAG instances that belong to another Alibaba Cloud account. Valid values:
| false |
ResourceUid | string | No | The ID of the Alibaba Cloud account to which the SAG instance belongs. | 109790620697**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "AA1AE941-84A9-5F83-A955-C8DAF31C2CB8",
"AreaId": 10,
"AuthenticationType": "NONE",
"DeadTime": 10,
"HelloTime": 1,
"Md5Key": "123****",
"Md5KeyId": 1,
"RouterId": "1.XX.XX.1",
"TaskStates": [
{
"ErrorMessage": "Successful",
"State": "Succeed",
"ErrorCode": "200",
"CreateTime": "1586843621000"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | GATEWAY.InvalidSN | The specified gateway serial number does not exist. | - |
400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | The specified SAG instance does not exist. |
400 | SAG.SoftwareNotSupport | The specified software instance does not support ACL. | - |
400 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | The specified SAG instance is inactive. You must activate the instance first. |
400 | DeviceNotExist | The specified device does not exist | - |
400 | MissParameter.GatewayId | The input parameter GatewayId that is mandatory for processing this model is not supplied. | - |
For a list of error codes, visit the Service error codes.