You can call this operation to modify the management port configurations of a Smart Access Gateway (SAG) device.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No ModifySagManagementPort

The operation that you want to perform.

Set the value to ModifySagManagementPort.

Gateway String Yes 192.XX.XX.254

The IP address of the management port gateway.

IP String Yes 192.XX.XX.1

The IP address of the management port.

Mask String Yes

The subnet mask of the IP address of the management port.

RegionId String Yes cn-shanghai

The ID of the region where the SAG instance is deployed.

SmartAGId String Yes sag-whfn****

The ID of the SAG instance.

SmartAGSn String Yes sag32a30****

The serial number of the SAG device associated with the SAG instance.

Response parameters

Parameter Type Example Description
RequestId String 6877D55B-08F7-4DA3-916B-32A6FD402E06

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ModifySagManagementPort
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
400 Sag.PortMgtError The role of a management port cannot be changed. The role of the management port cannot be changed.

For a list of error codes, visit the API Error Center.