仮想罫線ルーター (VBR) の設定を変更します。
操作説明
-
Express Connect 回線のオーナーのみが VlanId パラメーターを変更できます。
-
同じ Express Connect 回線配下の同じ VLAN ID を、2 つの VBR で同じ時間に使用できません。
-
terminated 状態の VBR は、VLAN ID を 7 日間自動的に保持します。この期間中、その VLAN ID は他の VBR で使用できません。7 日後、その VLAN ID は他の VBR で使用できるようになります。
-
他のアカウントに属する VBR インスタンスの場合、LocalGatewayIp、PeerGatewayIp、および PeeringSubnetMask パラメーターは設定できません。
-
PeeringSubnetMask パラメーターは、24 ビットから 30 ビット (255.255.255.0 から 255.255.255.252) をサポートします。
-
LocalGatewayIp パラメーターと PeerGatewayIp パラメーターは、同じ CIDR ブロック内にある必要があります。例: LocalGatewayIp: 192.168.XX.XX、PeerGatewayIp: 192.168.XX.XX、PeeringSubnetMask: 255.255.255.248。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ModifyVirtualBorderRouterAttribute |
update |
*VirtualBorderRouter
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
VBR のリージョン ID。 DescribeRegions 操作を呼び出して、リージョン ID をクエリできます。 |
cn-shanghai |
| VbrId |
string |
必須 |
VBR のインスタンス ID。 |
vbr-bp1lhl0taikrte**** |
| VlanId |
integer |
任意 |
VBR の VLAN ID。有効な値: 0 から 2999。 説明
Express Connect 回線のオーナーのみが、このパラメーターを指定できます。同じ Express Connect 回線配下の 2 つの VBR の VLAN ID は異なる必要があります。 |
0 |
| CircuitCode |
string |
任意 |
Express Connect 回線に対してインターネットサービスプロバイダー (ISP) から提供される回線コード。 説明
Express Connect 回線のオーナーのみが、このパラメーターを指定できます。 |
longtel001 |
| LocalGatewayIp |
string |
任意 |
Alibaba Cloud 側の VBR の IP アドレス。 VBR のオーナーのみが、このパラメーターを指定または変更できます。 |
192.168.XX.XX |
| PeerGatewayIp |
string |
任意 |
お客様側の VBR の IP アドレス。 VBR のオーナーのみが、このパラメーターを指定または変更できます。 |
192.168.XX.X |
| PeeringSubnetMask |
string |
任意 |
Alibaba Cloud 側およびお客様側の VBR の IP アドレスのサブネットマスク。VBR のオーナーのみが、このパラメーターを指定または変更できます。 2 つの IP アドレスは同じサブネット内にある必要があります。 |
255.255.255.252 |
| MinTxInterval |
integer |
任意 |
双方向転送検出 (BFD) パッケージの送信間隔。有効な値: 200 から 1000。単位: ミリ秒。 |
300 |
| MinRxInterval |
integer |
任意 |
BFD パッケージの受信間隔。有効な値: 200 から 1000。単位: ミリ秒。 |
300 |
| DetectMultiplier |
integer |
任意 |
検出時間乗数。リンクがダウンしたと見なされる前に、受信側で許可される連続パッケージドロップの最大値を指定します。 有効な値: 3 から 10。 |
3 |
| Description |
string |
任意 |
VBR の説明。 説明の長さは 2 文字から 256 文字である必要があります。先頭は英字または漢字にする必要があり、 |
desc |
| Name |
string |
任意 |
VBR の名前。 名前の長さは 2 文字から 128 文字である必要があります。先頭は英字または漢字にする必要があり、数字、アンダースコア (_)、ハイフン (-) を含めることができます。 |
VBR |
| AssociatedPhysicalConnections |
string |
任意 |
VBR に関連付けられている Express Connect 回線のリスト。リストには以下のパラメーターが含まれます。
|
[ { "VlanId": "5", "CircuitCode": "longtel001", "LocalGatewayIp": "192.168.XX.XX", "PeerGatewayIp": "192.168.XX.XX", "PeeringSubnetMask": "255.255.255.252", "LocalIpv6GatewayIp": "fd00:XXXX:1030:3f41::1", "PeerIpv6GatewayIp": "fd00:XXXX:1030:3f41::2", "PeeringIpv6SubnetMask": "fd00:0:1030:3f41::/126", "ipv6Enable": true, "PhysicalConnectionId": "pc-kojok19****" } ] |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。 クライアントを使用して値を生成できますが、異なるリクエスト間で一意であることを確認する必要があります。クライアントトークンには ASCII 文字のみを使用できます。 説明
このパラメーターを指定しない場合、システムは API リクエストの RequestId を ClientToken として自動的に使用します。各 API リクエストの RequestId は一意です。 |
02fb3da4-130e-11e9-8e44-00**** |
| LocalIpv6GatewayIp |
string |
任意 |
Alibaba Cloud 側の VBR の IPv6 アドレス。 |
2001:XXXX:3c4d:0015:0000:0000:0000:1a2b |
| PeerIpv6GatewayIp |
string |
任意 |
お客様側の VBR の IPv6 アドレス。
|
2001:XXXX:3c4d:0015:0000:0000:0000:2a2b |
| PeeringIpv6SubnetMask |
string |
任意 |
Alibaba Cloud 側およびお客様側の VBR の IPv6 アドレスのサブネットマスク。 2 つの IPv6 アドレスは同じサブネット内にある必要があります。 |
2408:4004:cc:400::/56 |
| EnableIpv6 |
boolean |
任意 |
IPv6 を有効にするかどうかを指定します。有効な値:
|
false |
| Bandwidth |
integer |
任意 |
帯域幅の値。単位: Mbit/s。 |
100 |
| SitelinkEnable |
boolean |
任意 |
データセンター間のサービスアクセスを許可するかどうかを指定します。有効な値:
|
false |
| Mtu |
integer |
任意 |
VBR でサポートされる最大伝送ユニット (MTU) の最大値。有効な値: 1500 および 8500。 このパラメーターをセットできるのは、VBR が Express Connect Router (ECR) に関連付けられている場合のみです。この値は、同じ ECR 内の他のすべての VBR および VPC にも影響します。 |
1500 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
リクエストの ID。 |
||
| RequestId |
string |
リクエストの ID。 |
980960B0-2969-40BF-8542-EBB34FD358AB |
例
成功レスポンス
JSONJSON
{
"RequestId": "980960B0-2969-40BF-8542-EBB34FD358AB"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalParam.AssociatedPhysicalConnections | The specified AssociatedPhysicalConnections is illegal. | 指定された AssociatedPhysicalConnections パラメーターは無効です。 |
| 400 | IllegalParam.IpAddress | The specified IpAddress is illegal. | 指定された IP アドレスは無効です。 |
| 400 | IllegalParam.CidrBlock | The specified CidrBlock is illegal. | CIDR ブロックは無効です。 |
| 400 | InvalidVbrId.NotFound | The specified VirutalBorderRouter is not found. | |
| 400 | IllegalParam.MinTxInterval | The specified MinTxInterval is not in proper range. | 指定された MinTxInterval パラメーターが有効値内にありません。 |
| 400 | IllegalParam.MinRxInterval | The specified MinRxInterval is not in proper range. | 指定された MinRxInterval パラメーターが有効値内にありません。 |
| 400 | IllegalParam.DetectMultiplier | The specified DetectMultiplier is not in proper range. | DetectMultiplier パラメーターが有効値内にありません。 |
| 400 | InvalidVlanId.Used | The specified VlanId has been used. | |
| 400 | Duplicated.LocalGatewayIp | The specified LocalGatewayIps are duplicated. | |
| 400 | Duplicated.PeerGatewayIp | The specified PeerGatewayIp are duplicated. | |
| 400 | IllegalParam.LocalGatewayIp | The specified LocalGatewayIp already exists. | |
| 400 | IllegalParam.PeerGatewayIp | The specified PeerGatewayIp already exists. | |
| 400 | InvalidCircuitCode.Malformed | The specified CircuitCode is not valid. | |
| 400 | InvalidVlanId.Malformed | The specified VlanId is not valid. | |
| 400 | InvalidIp.Malformed | The specified ip address is not valid. | |
| 400 | InvalidPeeringSubnetMask.Malformed | The specified PeeringSubnetMask is not valid. | 指定された PeeringSubnetMask が無効です。パラメーターが正しいかどうかを確認してください。 |
| 400 | InvalidName.Malformed | The specified Name is not valid. | 名前のフォーマットが無効です。 |
| 400 | InvalidDescription.Malformed | The specifid Description is not valid. | 指定されたリソースの説明のフォーマットが無効です。説明は 2~256 文字の長さで、http:// または https:// で始まることはできません。 |
| 400 | MissingParameter | LocalGatewayIp, peerGatewayIp and peeringSubnetMask must not be null. | 必須パラメーターが不足しています。すべての必須パラメーターが指定されていることを確認して、もう一度お試しください。 |
| 400 | InvalidIp.NotSameSubnet | Local gateway ip and peer gateway ip are not in the same subnet. | ローカルゲートウェイ IP アドレスとピアゲートウェイ IP アドレスが同じサブネット内にありません。 |
| 400 | InvalidParameter | %s | |
| 400 | OperationFailed.VlanIdInUse | Operation failed because vlanId is in use. | vlanId はすでに使用されています。 |
| 400 | IncorrectStatus.VirtualBorderRouter | %s | |
| 400 | OperationUnsupported.IPV6ForThisRegion | This Region do not support IPV6. | 該当リージョンは IPv6 をサポートしていません。 |
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | アウトバウンドトラフィックが有効化されていないため、操作に失敗しました。 |
| 400 | OperationDenied.VBRAssociateVPconn | The operation is not allowed because of VBRAssociateVPconn. | VBR を仮想物理接続に関連付けることはできません。 |
| 400 | OperationFailed.PhysicalConnectionFinancialLocked | Update failed, the physical connection is financial locked. | 支払い遅延により共有ポートがロック済みであるため、VLAN を変更できません。 |
| 400 | OperationFailed.PhysicalConnectionTerminated | Update failed, the physical connection is terminated. | 共有ポートが終了状態であるため、VLAN を変更できません。 |
| 400 | OperationFailed.VbrBandWidthMust0InVlan0Vbr | The operation is failed because of VbrBandWidthMust0InVlan0Vbr. | 帯域幅調整が許可されていないため、操作に失敗しました。 |
| 400 | MissingParam.DetectMultiplier | The parameter DetectMultiplier is mandatory. | DetectMultiplier パラメーターがありません。BFD パケットを設定する場合は、送信間隔、受信間隔、検出時間乗数を一緒に指定する必要があります。 |
| 400 | MissingParam.MinRxInterval | The parameter MinRxInterval is mandatory. | MinRxInterval パラメーターがありません。BFD パケットを設定する場合は、送信間隔、受信間隔、検出時間乗数を一緒に指定する必要があります。 |
| 400 | MissingParam.MinTxInterval | The parameter MinTxInterval is mandatory. | MinTxInterval パラメーターがありません。BFD パケットを設定する場合は、送信間隔、受信間隔、検出時間乗数を一緒に指定する必要があります。 |
| 400 | DuplicatedParam.LocalGatewayIp | The LocalGatewayIp values are duplicated. | ローカル IP アドレスが重複しています。 |
| 400 | Forbidden.VbrNotAllowModifySiteLink | Can not modify virtualBorderRouter site link, please call PD to authorize. | |
| 400 | OperationUnsupported.VirtualBorderRouterEnableIPv6 | The operation failed. The device or region does not support IPv6 functions. | デバイスまたはリージョンが IPv6 をサポートしていないため、操作は失敗した。 |
| 400 | OperationFailed.PconnAllocateVlan0 | Vlan 0 Vbr cannot share the physical connection with another Vbr. | Express Connect 回線上の VLAN 0 は、他の VBR と共存できません。 |
| 400 | IllegalParam.VlanId | The parameter VlanId is illegal. | VlanId パラメーターは有効ではありません。 |
| 400 | OperationFailed.VbrLocked | The VBR is locked. | 仮想ボーダールーター (VBR) はロック済みです。しばらくしてからもう一度お試しください。 |
| 400 | IllegalParam.%s | The param of %s is illegal. | 指定されたパラメーターは無効です。 |
| 400 | OperationDenied.NotInWhiteList | User does not have permission to turn on jumbo frames. | ジャンボフレームを有効にする権限がありません。 |
| 400 | IncorrectStatus.Ecr | The express connect router is not in a steady state and cannot operate. | Express Connect Router (ECR) が安定した状態にないため、この操作はサポートされていません。 |
| 400 | ResourceInConfiguring.NodeId | The express connect router subinstance is not in a steady state and cannot operate. | Express Connect Router (ECR) サブインスタンスが安定した状態にないため、この操作はサポートされていません。 |
| 400 | UnsupportedFeature.JumboFrame | The jumbo frame feature is not supported in the current region. | 現在のリージョンでは、ジャンボフレーム機能はサポートされていません。 |
| 400 | OperationFailed.VbrNotEnableIpv6 | IPv6 is not enabled for the specified VirtualBorderRouter. Please enable IPv6 on the VBR before configuring IPv6 addresses. | 指定された仮想ボーダールーターで IPv6 が有効化されていません。IPv6 アドレスを設定する前に、VBR で IPv6 を有効化してください。 |
| 403 | Forbidden.CircuitCodeNotAllowedByCaller | The caller is not allowed to modify. | |
| 403 | Forbidden.LocalGatewayIpNotAllowedByCaller | The caller is not allowed to specify the LocalGatewayIp parameter. | |
| 403 | Forbidden.PeerGatewayIpNotAllowedByCaller | The caller is not allowed to specify the PeerGatewayIp parameter. | |
| 403 | Forbidden.PeeringSubnetMaskNotAllowedByCaller | The caller is not allowed to specify the PeeringSubnetMask parameter. | |
| 403 | Forbidden.VlanIdNotAllowedByCaller | The caller is not allowed to specify the VlanId. | |
| 403 | Forbidden.NameNotAllowedByCaller | The caller is not allowed to specify the Name parameter. | |
| 403 | Forbidden.DescriptionNotAllowedByCaller | The caller is not allowed to specify the Description parameter. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId is not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。