Creates a subinterface for an Express Connect circuit.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the Smart Access Gateway (SAG) instance is deployed. | cn-shanghai |
SmartAGId | string | Yes | The ID of the SAG instance. | sag-whfn**** |
SmartAGSn | string | Yes | The serial number of the SAG device associated with the SAG instance. | sag32a30**** |
PortName | string | Yes | The name of the Express Connect port. | 5 |
Vlan | string | Yes | The VLAN ID of the subinterface. Value: 0 to 4094. Note
| 10 |
IP | string | Yes | The IP address. | 192.XX.XX.1 |
Mask | string | Yes | The subnet mask of the IP address. | 255.255.255.252 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "AFF7E5A6-6897-4FDC-A5A8-1978B5B3E545"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Sag.EccVlanOverLimit | The maximum number of VLANs that can be created for the device is exceeded. | - |
400 | Sag.EccVlanExist | The specified VLAN already exists. | The specified VLAN already exists. |
400 | Sag.EccVlanDefault | When VLAN 0 exists, other VLANs cannot be created. | If a physical port of the device is used to connect to an Express Connect circuit, you cannot create a VLAN. |
For a list of error codes, visit the Service error codes.