文档

UpdateSmartAccessGatewayBgpRoute - 修改SAG设备动态路由协议BGP的配置

修改SAG设备动态路由协议BGP的配置,适用于设备类型为SCG5000或SCG5000-5G的智能接入网关实例,且设备版本为3.4.2及以上。

接口说明

目前仅设备版本为 3.4.2 及以上的 SCG5000 和 SCG5000-5G 设备支持修改智能接入网关设备动态路由协议 BGP 的配置。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
SagInsIdstring

智能接入网关实例 ID。

sag-v9un1ccz22owd7****
SagSnstring

智能接入网关设备序列号。

sagf4dk****
RegionIdstring

智能接入网关实例所属的地域 ID。

您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-shanghai
RouterIdstring

BGP 路由器 ID。

172.XX.XX.1
LocalAslong

智能接入网关设备所属自治系统编号。

取值范围:1~4294967295

65536
HoldTimeinteger

保持时间。单位:秒。

取值范围:3~65535

说明 在智能接入网关设备和对端设备建立对等体关系时,两端设备要协商 Hold Time 并保持一致,如果在 Hold Time 内未收到对端发来的 KeepAlive 或 Update 消息,则认为 BGP 连接中断。
9
KeepAliveinteger

存活时间间隔。单位:秒。

取值范围:0~65535

3
CrossAccountboolean

是否只查询跨账号所属的智能接入网关实例。取值:

  • false(默认值):否。

  • true:是。

false
ResourceUidstring

智能接入网关实例所属的阿里云账号(主账号)ID。

147304382796****

返回参数

名称类型描述示例值
object
Codestring

响应码。200 标识查询任务成功。

200
Successboolean

修改是否成功。取值:

  • true:是。
  • false:否。
true
RequestIdstring

请求 ID。

7F0B079C-2D0E-4ABF-A970-C079F785A09C
Messagestring

响应消息。Successful 标识查询任务成功。

Successful

示例

正常返回示例

JSON格式

{
  "Code": "200",
  "Success": true,
  "RequestId": "7F0B079C-2D0E-4ABF-A970-C079F785A09C",
  "Message": "Successful"
}

错误码

HTTP status code错误码错误信息描述
400GATEWAY.InvalidSNThe specified gateway serial number does not exist.-
400InternalErrorInternal server error-
400DeviceNotExistThe specified device does not exist-
400SAG.InstanceNoFoundThe specified SAG instance does not exist.智能接入网关实例不存在。
400SAG.SoftwareNotSupportThe specified software instance does not support ACL.-
400SmartAccessGatewayNotActivatedThe specified Smart Access Gateway has not been activated.该智能接入网关尚未激活,请先激活该实例。
400MissParameter.GatewayIdThe input parameter GatewayId that is mandatory for processing this model is not supplied.-
400MissParameter.RouterIdThe input parameter RouterId that is mandatory for processing this model is not supplied.-
400MissParameter.LocalAsThe input parameter LocalAs that is mandatory for processing this model is not supplied.-
400MissParameter.HoldThe input parameter Hold that is mandatory for processing this model is not supplied.-
400MissParameter.KeepaliveThe input parameter Keepalive that is mandatory for processing this model is not supplied.-
400InvalidParameter.RouterIdThe input parameter RouterId is illegal, please check your input.-
400InvalidParameter.LocalAsThe input parameter LocalAs is illegal, please check your input.-
400InvalidParameter.HoldThe input parameter Hold is illegal, please check your input.-
400InvalidParameter.KeepaliveThe input parameter Keepalive is illegal, please check your input.-
400InvalidParameter.RedistributeProtocolThe input parameter RedistributeProtocol is illegal, please check your input.-
400InvalidParameter.NetworksThe input parameter Networks is illegal, please check your input.-
400InvalidParameter.NeighborIpThe input parameter NeighborIp is illegal, please check your input.-
400InvalidParameter.RemoteAsThe input parameter RemoteAs is illegal, please check your input.-
400FeatureNotSupportThe current edition of the smart access gateway does not support this feature.智能接入网关当前版本不支持该功能特性。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈