华为云用户手册

  • 响应示例 返回状态码为200:操作成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为400:请求参数错误。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-nqa:nqa 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 是 string 36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。 - 设备ID。 "00000000-0000-0000-0000-000000000000"
  • 响应参数 返回状态码为200:修改成功,响应体参考VpnBandwidthPolicyResponse。 VpnBandwidthPolicyResponse对象的参数列表,详细请参见表5。 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考VpnBandwidthPolicyResponse。 返回状态码为204:执行成功,无响应体。 返回状态码为400:请求参数错误,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/sdwan/policy/traffic/vpn-bandwidth-policies HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-AC CES S-TOKEN: x-yyyyyy { "bandwidthPolicies" : [ { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } ] }
  • 响应示例 返回状态码为200:修改成功,响应体参考VpnBandwidthPolicyResponse。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "success" : [ { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "id" : "00000000-0000-0000-0000-000000000000", "name" : "VpnBandwidthPolicy", "direction" : "outbound", "enableStatistic" : false, "enableFixMode" : false, "bandwidthAllocations" : [ { "vpnId" : "00000000-0000-0000-0000-000000000000", "vpnGroupId" : "00000000-0000-0000-0000-000000000000", "bandwidth" : 10 } ] } } ], "processInstanceId" : "" } 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考VpnBandwidthPolicyResponse。 HTTP/1.1 202 Accepted Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为204:执行成功,无响应体。 HTTP/1.1 204 No Content Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为400:请求参数错误,无响应体。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误,无响应体。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 响应示例 返回状态码为200:修改成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "data" : { "cliEnable" : false } }
  • 请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 body 是 REFERENCE 详细请参见表2。 租户内设备本地CLI配置开关配置参数体。 - 表2 CliApDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 cliEnable 是 boolean true false - 是否使能设备本地CLI配置开关。 false
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/networkservice/networkconfig/net/cliap HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "cliEnable" : false }
  • 响应参数 返回状态码为200:修改成功。 表3 CliApPutResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" data REFERENCE 详细请参见表4。 设备本地CLI配置开关入参 - 表4 CliApDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 cliEnable boolean true false - 是否使能设备本地CLI配置开关。 false
  • 请求示例 HTTP的示例 POST /controller/campus/v1/assurance/business-list HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "pageIndex" : 1, "pageSize" : 10, "filterValue" : "business-exp", "orderField" : "startTime", "orderDirection" : "default", "startTime" : 1685153160000, "endTime" : 1685153160000, "status" : "default" }
  • 响应示例 返回状态码为200:成功响应,响应体参考BusinessAllResponse。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "pageIndex" : 1, "pageSize" : 10, "totalRecords" : 10, "data" : [ { "businessBase" : { "name" : "business-exp", "id" : "00000000-0000-0000-0000-000000000000", "label" : "label-exp", "description" : "description-exp", "startTime" : 4102415940000, "endTime" : 4102415940000, "extBusinessId" : "00000000-0000-0000-0000-000000000000" }, "terminalList" : [ { "srcIpOrMac" : "192.168.1.1", "srcPort" : 1, "name" : "terminal-exp" } ], "appList" : [ { "dstIp" : "192.168.1.1", "dstPort" : 1, "protocol" : "ANY" } ], "smartAppInfo" : { "appType" : "Custom", "appId" : "12305", "appName" : "腾讯会议" } } ] } 返回状态码为400:失败响应。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 响应参数 返回状态码为200:成功响应,响应体参考BusinessAllResponse。 表3 BusinessAllResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 状态码,0:请求成功。 "0" errmsg string 0~256个字符。 - 接口调用结果的描述信息。 "" pageIndex int32 [0-100] - 页索引。 1 pageSize int32 [0-100] - 页大小。 10 totalRecords int32 [0-65535] - 记录总数。 10 data ARRAY_REFERENCE 0-320个列表项,详细请参见表8。 会议基本信息列表。 - 返回状态码为400:失败响应。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 queryOption 是 REFERENCE 详细请参见表2。 查询参数。 - 表2 BusinessQueryOption对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageIndex 否 int32 [0-100] 1 页索引。 1 pageSize 否 int32 [0-100] 10 页大小。 10 filterValue 否 string 0~64个字符。 - 业务保障名或标签值。 "business-exp" orderField 否 string 0~9个字符。 default startTime 开始时间。 endTime 结束时间。 default 默认以startTime(开始时间)为排序字段。 "startTime" orderDirection 否 string 0~7个字符。 default asc 升序。 desc 降序。 default 先按照业务保障状态分组,然后分组内按照升序排序。分组按照 进行中,未开始,已结束分组。 "default" startTime 否 int64 [0-4102415940000] 0 业务保障开始时间,格式为UNIX时间戳,即从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰秒。 1685153160000 endTime 否 int64 [0-4102415940000] 4102415940000 业务保障结束时间,格式为UNIX时间戳,即从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰秒。 1685153160000 status 否 string 0~8个字符。 default default 过滤所有的业务保障。 ended 过滤已结束的业务保障。 starting 过滤过进行中的业务保障。 waiting 过滤未开始的业务保障。 "default"
  • 响应示例 返回状态码为200:查询成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "pageIndex" : 1, "pageSize" : 100, "totalRecords" : 1, "data" : [ { "deviceId" : "fbb684c8-0d37-406f-bafa-4b06d6151e2e", "esn" : "AP50082935AAAAAAAAA1", "status" : 0, "tunnelId" : 1 } ] }
  • URI /controller/campus/v1/networkservice/networkconfig/net/wactunnel/{wacId}/bind-relation 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 wacId 是 string 36个字符。 - 设备ID。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e" 表2 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageSize 是 int32 [1-100] - 分页的大小。 20 pageIndex 是 int32 [1-300000] - 分页的序号。 1
  • 请求示例 HTTP的示例 GET /controller/campus/v1/networkservice/networkconfig/net/wactunnel/fbb684c8-0d37-496f-bafa-4b06d5151e2e/bind-relation?pageSize=20&pageIndex=1 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • 响应参数 返回状态码为200:查询成功。 表3 WACTunnelPagedResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" pageIndex int32 [1-2000] - 页码。 1 pageSize int32 [10-1000] - 每页大小。 100 totalRecords int32 [0-20000] - 总数。 1 data ARRAY_REFERENCE 0-1000个列表项,详细请参见表4。 隧道配置列表。 - 表4 BindTunnelApInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 deviceId string 36个字符。 - AP设备ID。 "fbb684c8-0d37-406f-bafa-4b06d6151e2e" esn string 0~40个字符。 - AP设备ESN。 "AP50082935AAAAAAAAA1" status int32 - - 设备状态。0---已建联,已激活、1---已建联,未激活、3---未建联。 0 tunnelId int64 - - 给隧道AP设备分配的ID。 1
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceFwStaticRouteInfoDto 是 REFERENCE 详细请参见表3。 创建的防火墙设备静态路由配置。 - 表3 FwRouteInfo对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 mask 是 integer [0-32] - 掩码,不允许修改。 22 destinationPrefixIp 否 string 1~15个字符。 - 目的地址,必填。必须是合法的IPv4地址,以127或者224~255开头的IP地址为非法IP地址,不允许修改。 "10.20.0.0" nextHopAddress 否 string 0~15个字符。 - 下一跳地址,必须是合法的IPv4地址,以127或者224~255开头的IP地址为非法IP地址。当nextInterface为空时,nextHopAddress必填。 "10.20.0.10" nextInterface 否 string 0~32个字符。 - 设备出接口。当nextHopAddress为空时,nextInterface必填。 "GigabitEthernet0/0/4" trackIplinkId 否 string 0~32个字符。 - IP链接ID。 "ae5813f8ff1e41f5ba9c324da70b49ca" preference 否 integer [1-255] - 优先级。取值越小,优先等级越高,不填时默认为60。 5
  • 响应示例 返回状态码为201:创建的防火墙设备静态路由配置。 HTTP/1.1 201 Created Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "data" : { "mask" : 22, "destinationPrefixIp" : "10.20.0.0", "nextHopAddress" : "10.20.0.10", "nextInterface" : "GigabitEthernet0/0/4", "trackIplinkId" : "ae5813f8ff1e41f5ba9c324da70b49ca", "preference" : 5, "id" : "de5813f8ff1e41f5ba9c324da70b49ed" } } 返回状态码为400:校验失败信息。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 请求示例 HTTP的示例 POST /controller/campus/v1/networkservice/networkconfig/net/fwstaticroute/devices/fbb684c8-0d37-496f-bafa-4b06d5151e2e/staticroute HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "mask" : 22, "destinationPrefixIp" : "10.20.0.0", "nextHopAddress" : "10.20.0.10", "nextInterface" : "GigabitEthernet0/0/4", "trackIplinkId" : "ae5813f8ff1e41f5ba9c324da70b49ca", "preference" : 5 }
  • 响应参数 返回状态码为201:创建的防火墙设备静态路由配置。 表4 FwStaticRouteResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" data REFERENCE 详细请参见表5。 - - 表5 DeviceFwStaticRouteInfoDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 mask integer [0-32] - 掩码,不允许修改。 22 destinationPrefixIp string 1~15个字符。 - 目的地址,必填。必须是合法的IPv4地址,以127或者224~255开头的IP地址为非法IP地址,不允许修改。 "10.20.0.0" nextHopAddress string 0~15个字符。 - 下一跳地址,必须是合法的IPv4地址,以127或者224~255开头的IP地址为非法IP地址。当nextInterface为空时,nextHopAddress必填。 "10.20.0.10" nextInterface string 0~32个字符。 - 设备出接口。当nextHopAddress为空时,nextInterface必填。 "GigabitEthernet0/0/4" trackIplinkId string 0~32个字符。 - IP链接ID。 "ae5813f8ff1e41f5ba9c324da70b49ca" preference integer [1-255] - 优先级。取值越小,优先等级越高,不填时默认为60。 5 id string 0~32个字符。 - 防火墙静态路由ID。 "de5813f8ff1e41f5ba9c324da70b49ed" 返回状态码为400:校验失败信息。 详细信息请参见实际响应消息体。
  • URI /controller/campus/v1/networkservice/networkconfig/net/fwstaticroute/devices/{deviceId}/staticroute 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 是 string 36个字符。 - 设备标识,UUID格式。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e"
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-syslog:syslog-config/global-parameter 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 是 string 36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。 - 设备ID。 "00000000-0000-0000-0000-000000000000"
  • 请求示例 HTTP的示例 DELETE /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-syslog:syslog-config/global-parameter HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy restconf-transaction-id: "00000000-0000-0000-0000-000000000000"
  • 响应示例 返回状态码为200:操作成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为400:请求参数错误。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 请求示例 HTTP的示例 PATCH /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-queue-template:flow-queue-template HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy restconf-transaction-id: "00000000-0000-0000-0000-000000000000" { "huawei-nce-e-queue-template:flow-queue-template" : { "name" : "FlowQueueTemplate", "traffic-behavior-queue" : [ { "name" : "TrafficBehavior", "scheduler-mode" : "pq", "weight" : 10, "shaping" : 64, "shaping-percent" : 10, "percent-reference" : "pir", "pbs" : 20, "packet-number" : 1, "queue-depth" : 10 } ] } }
  • 响应示例 返回状态码为200:操作成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为400:请求参数错误。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-queue-template:flow-queue-template 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 是 string 36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。 - 设备ID。 "00000000-0000-0000-0000-000000000000"
  • 请求参数 表2 header参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 restconf-transaction-id 是 string - - 事务ID。 "00000000-0000-0000-0000-000000000000" 表3 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 huawei-nce-e-queue-template:flow-queue-template 是 REFERENCE 详细请参见表4。 流队列模板。 - 表4 nes-ne-flow-queue-template-exclude-patch-false-augment对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 huawei-nce-e-queue-template:flow-queue-template 否 REFERENCE 详细请参见表5。 流队列模板。 - 表5 flow-queue-template-patch-false对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 name 否 string 1~31个字符。满足正则表达[a-zA-Z0-9]([^\s]*)。 - 流队列模板名称,单一主键字段。 "FlowQueueTemplate" traffic-behavior-queue 否 ARRAY_REFERENCE 0-32个列表项,详细请参见表6。 流行为队列。 - 表6 nes-ne-flow-queue-template-traffic-behavior-queue-patch-false对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 name 否 string 1~31个字符。 - 流行为队列名称,单一主键字段。 "TrafficBehavior" scheduler-mode 否 string pq drr not-config - 调度模式。 "pq" weight 否 int32 [1-100] - 权重。 10 shaping 否 int64 [64-100000000] - 整形值。 64 shaping-percent 否 int32 [1-100] - 整形百分比。 10 percent-reference 否 string pir cir - 限速百分比参考。 "pir" pbs 否 int64 [0-4194304] - 峰值突发尺寸(Byte)。 20 packet-number 否 int64 [1-2] - 报文数。 1 queue-depth 否 int64 [1-4294967295] - 队列深度。AR6700V-L款型不支持。 10
  • 响应示例 返回状态码为201:创建成功返回。 HTTP/1.1 201 Created Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "data" : { "vnId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "siteId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "vnName" : "abc", "siteName" : "test", "linkName" : "test", "linkStatus" : "test", "corePhysicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "gatewayPhysicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "connectIpInfo" : { "coreSubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "gatewaySubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreIpAddress" : "192.168.10.10", "gatewayIpAddress" : "192.168.10.20", "gatewaySecondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "maskLength" : 24, "gatewayIpv6Address" : "FC00::1", "ipv6PrefixLength" : 64, "id" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "connectVlan" : 10, "trustEnable" : false, "trust" : "dscp", "ipAddress" : "192.168.10.1", "ipv6Address" : "FC00::1/120" }, "gateWayAdvancedInfo" : { "secondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "securityZone" : "TRUST", "proxyArp" : false, "innerProxyArp" : false, "toVasEnable" : false, "attributes" : { "mtu" : 1500, "mss" : 1200 }, "vrrp" : { "enable" : false, "vrrpId" : 1, "virtualIpAddress" : "192.168.0.1;192.168.0.2", "vrrpRole" : "MASTER", "priority" : 1, "preemptDelay" : 0, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrpList" : [ { "vrrpId" : 1, "virtualIpAddress" : "10.1.1.1;10.1.2.1", "vrrpRole" : "master", "preemptDelay" : 0, "priority" : 1, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ] } ] }, "dhcp" : { "enable" : false, "dhcpServiceType" : "SERVER", "dhcpServer" : { "useSecondaryIP" : false, "leaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "192.168.1.2", "endAddress" : "192.168.1.3" } ], "dhcpStatic" : [ { "ipAddress" : "192.168.1.10", "macAddress" : "00e0-fc12-3456" } ], "dhcpOption" : [ { "code" : 43, "type" : 1, "value" : "192.168.1.0", "description" : "Wins/Netbios server" } ], "dnsServerIp" : ["192.168.0.1"], "domainName" : "abc.com" }, "dhcpRelay" : { "serverIps" : ["192.168.0.1"], "sourceAddress" : "10.10.10.2", "gatewayAddress" : "10.10.10.3", "dhcpRelayOption82" : { "function" : 0, "vlanId" : 1, "subOption" : [ { "subOptionCode" : 0, "isUserDefined" : true, "value" : "ZID023301" } ] }, "linkSelectionInsertEnable" : true, "linkSelectionInsertIp" : "10.10.10.1" } }, "vrrp6" : { "vrrp6Enable" : true, "vrrp6List" : [ { "vrrp6Id" : 1, "virtualIpv6AddressLinkLocal" : "FC00::1", "virtualIpv6Address" : "FC00::1;FC00::2", "preemptDelay" : 0, "priority" : 1, "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrp6Role" : "" } ] }, "dhcpV6" : { "dhcpV6Enable" : true, "dhcpv6ServiceType" : "SERVER", "dhcpv6Server" : { "addressPrefix" : "FC00::1/120", "addressPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "delegationPrefix" : "FC00::1/120", "delegationPrefixAssignLength" : "", "delegationPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "FC00::1", "endAddress" : "FC00::1" } ], "firstDnsServer" : "FC00::1", "secondDnsServer" : "FC00::1", "domainName" : "0" }, "dhcpv6Relay" : { "serverIps" : ["FC00::1"] } }, "unrHostRouteAdvertiseEnable" : false, "dhcpTriggerEnable" : false, "unrRoutesLimitEnable" : "", "unrRoutesLimit" : 24, "ntpDisable" : "", "ntpIpv6Disable" : "", "raHaltEnable" : "", "managedAddressFlagEnable" : "" }, "coreSubnets" : [ { "operType" : "", "status" : "", "description" : "abc", "errmsg" : "", "physicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "ipInfo" : { "coreSubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "gatewaySubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreIpAddress" : "192.168.10.10", "gatewayIpAddress" : "192.168.10.20", "gatewaySecondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "maskLength" : 24, "gatewayIpv6Address" : "FC00::1", "ipv6PrefixLength" : 64, "id" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "connectVlan" : 10, "trustEnable" : false, "trust" : "dscp", "ipAddress" : "192.168.10.1", "ipv6Address" : "FC00::1/120" }, "advancedInfo" : { "secondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "securityZone" : "TRUST", "proxyArp" : false, "innerProxyArp" : false, "toVasEnable" : false, "attributes" : { "mtu" : 1500, "mss" : 1200 }, "vrrp" : { "enable" : false, "vrrpId" : 1, "virtualIpAddress" : "192.168.0.1;192.168.0.2", "vrrpRole" : "MASTER", "priority" : 1, "preemptDelay" : 0, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrpList" : [ { "vrrpId" : 1, "virtualIpAddress" : "10.1.1.1;10.1.2.1", "vrrpRole" : "master", "preemptDelay" : 0, "priority" : 1, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ] } ] }, "dhcp" : { "enable" : false, "dhcpServiceType" : "SERVER", "dhcpServer" : { "useSecondaryIP" : false, "leaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "192.168.1.2", "endAddress" : "192.168.1.3" } ], "dhcpStatic" : [ { "ipAddress" : "192.168.1.10", "macAddress" : "00e0-fc12-3456" } ], "dhcpOption" : [ { "code" : 43, "type" : 1, "value" : "192.168.1.0", "description" : "Wins/Netbios server" } ], "dnsServerIp" : ["192.168.0.1"], "domainName" : "abc.com" }, "dhcpRelay" : { "serverIps" : ["192.168.0.1"], "sourceAddress" : "10.10.10.2", "gatewayAddress" : "10.10.10.3", "dhcpRelayOption82" : { "function" : 0, "vlanId" : 1, "subOption" : [ { "subOptionCode" : 0, "isUserDefined" : true, "value" : "ZID023301" } ] }, "linkSelectionInsertEnable" : true, "linkSelectionInsertIp" : "10.10.10.1" } }, "vrrp6" : { "vrrp6Enable" : true, "vrrp6List" : [ { "vrrp6Id" : 1, "virtualIpv6AddressLinkLocal" : "FC00::1", "virtualIpv6Address" : "FC00::1;FC00::2", "preemptDelay" : 0, "priority" : 1, "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrp6Role" : "" } ] }, "dhcpV6" : { "dhcpV6Enable" : true, "dhcpv6ServiceType" : "SERVER", "dhcpv6Server" : { "addressPrefix" : "FC00::1/120", "addressPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "delegationPrefix" : "FC00::1/120", "delegationPrefixAssignLength" : "", "delegationPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "FC00::1", "endAddress" : "FC00::1" } ], "firstDnsServer" : "FC00::1", "secondDnsServer" : "FC00::1", "domainName" : "0" }, "dhcpv6Relay" : { "serverIps" : ["FC00::1"] } }, "unrHostRouteAdvertiseEnable" : false, "dhcpTriggerEnable" : false, "unrRoutesLimitEnable" : "", "unrRoutesLimit" : 24, "ntpDisable" : "", "ntpIpv6Disable" : "", "raHaltEnable" : "", "managedAddressFlagEnable" : "" } } ], "gatewaySubnets" : [ { "operType" : "", "status" : "", "description" : "abc", "errmsg" : "", "physicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "ipInfo" : { "coreSubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "gatewaySubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreIpAddress" : "192.168.10.10", "gatewayIpAddress" : "192.168.10.20", "gatewaySecondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "maskLength" : 24, "gatewayIpv6Address" : "FC00::1", "ipv6PrefixLength" : 64, "id" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "connectVlan" : 10, "trustEnable" : false, "trust" : "dscp", "ipAddress" : "192.168.10.1", "ipv6Address" : "FC00::1/120" }, "advancedInfo" : { "secondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "securityZone" : "TRUST", "proxyArp" : false, "innerProxyArp" : false, "toVasEnable" : false, "attributes" : { "mtu" : 1500, "mss" : 1200 }, "vrrp" : { "enable" : false, "vrrpId" : 1, "virtualIpAddress" : "192.168.0.1;192.168.0.2", "vrrpRole" : "MASTER", "priority" : 1, "preemptDelay" : 0, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrpList" : [ { "vrrpId" : 1, "virtualIpAddress" : "10.1.1.1;10.1.2.1", "vrrpRole" : "master", "preemptDelay" : 0, "priority" : 1, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ] } ] }, "dhcp" : { "enable" : false, "dhcpServiceType" : "SERVER", "dhcpServer" : { "useSecondaryIP" : false, "leaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "192.168.1.2", "endAddress" : "192.168.1.3" } ], "dhcpStatic" : [ { "ipAddress" : "192.168.1.10", "macAddress" : "00e0-fc12-3456" } ], "dhcpOption" : [ { "code" : 43, "type" : 1, "value" : "192.168.1.0", "description" : "Wins/Netbios server" } ], "dnsServerIp" : ["192.168.0.1"], "domainName" : "abc.com" }, "dhcpRelay" : { "serverIps" : ["192.168.0.1"], "sourceAddress" : "10.10.10.2", "gatewayAddress" : "10.10.10.3", "dhcpRelayOption82" : { "function" : 0, "vlanId" : 1, "subOption" : [ { "subOptionCode" : 0, "isUserDefined" : true, "value" : "ZID023301" } ] }, "linkSelectionInsertEnable" : true, "linkSelectionInsertIp" : "10.10.10.1" } }, "vrrp6" : { "vrrp6Enable" : true, "vrrp6List" : [ { "vrrp6Id" : 1, "virtualIpv6AddressLinkLocal" : "FC00::1", "virtualIpv6Address" : "FC00::1;FC00::2", "preemptDelay" : 0, "priority" : 1, "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrp6Role" : "" } ] }, "dhcpV6" : { "dhcpV6Enable" : true, "dhcpv6ServiceType" : "SERVER", "dhcpv6Server" : { "addressPrefix" : "FC00::1/120", "addressPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "delegationPrefix" : "FC00::1/120", "delegationPrefixAssignLength" : "", "delegationPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "FC00::1", "endAddress" : "FC00::1" } ], "firstDnsServer" : "FC00::1", "secondDnsServer" : "FC00::1", "domainName" : "0" }, "dhcpv6Relay" : { "serverIps" : ["FC00::1"] } }, "unrHostRouteAdvertiseEnable" : false, "dhcpTriggerEnable" : false, "unrRoutesLimitEnable" : "", "unrRoutesLimit" : 24, "ntpDisable" : "", "ntpIpv6Disable" : "", "raHaltEnable" : "", "managedAddressFlagEnable" : "" } } ], "linkId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e" }, "success" : [ { "operType" : "", "status" : "", "description" : "abc", "errmsg" : "", "physicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "ipInfo" : { "coreSubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "gatewaySubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreIpAddress" : "192.168.10.10", "gatewayIpAddress" : "192.168.10.20", "gatewaySecondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "maskLength" : 24, "gatewayIpv6Address" : "FC00::1", "ipv6PrefixLength" : 64, "id" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "connectVlan" : 10, "trustEnable" : false, "trust" : "dscp", "ipAddress" : "192.168.10.1", "ipv6Address" : "FC00::1/120" }, "advancedInfo" : { "secondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "securityZone" : "TRUST", "proxyArp" : false, "innerProxyArp" : false, "toVasEnable" : false, "attributes" : { "mtu" : 1500, "mss" : 1200 }, "vrrp" : { "enable" : false, "vrrpId" : 1, "virtualIpAddress" : "192.168.0.1;192.168.0.2", "vrrpRole" : "MASTER", "priority" : 1, "preemptDelay" : 0, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrpList" : [ { "vrrpId" : 1, "virtualIpAddress" : "10.1.1.1;10.1.2.1", "vrrpRole" : "master", "preemptDelay" : 0, "priority" : 1, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ] } ] }, "dhcp" : { "enable" : false, "dhcpServiceType" : "SERVER", "dhcpServer" : { "useSecondaryIP" : false, "leaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "192.168.1.2", "endAddress" : "192.168.1.3" } ], "dhcpStatic" : [ { "ipAddress" : "192.168.1.10", "macAddress" : "00e0-fc12-3456" } ], "dhcpOption" : [ { "code" : 43, "type" : 1, "value" : "192.168.1.0", "description" : "Wins/Netbios server" } ], "dnsServerIp" : ["192.168.0.1"], "domainName" : "abc.com" }, "dhcpRelay" : { "serverIps" : ["192.168.0.1"], "sourceAddress" : "10.10.10.2", "gatewayAddress" : "10.10.10.3", "dhcpRelayOption82" : { "function" : 0, "vlanId" : 1, "subOption" : [ { "subOptionCode" : 0, "isUserDefined" : true, "value" : "ZID023301" } ] }, "linkSelectionInsertEnable" : true, "linkSelectionInsertIp" : "10.10.10.1" } }, "vrrp6" : { "vrrp6Enable" : true, "vrrp6List" : [ { "vrrp6Id" : 1, "virtualIpv6AddressLinkLocal" : "FC00::1", "virtualIpv6Address" : "FC00::1;FC00::2", "preemptDelay" : 0, "priority" : 1, "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrp6Role" : "" } ] }, "dhcpV6" : { "dhcpV6Enable" : true, "dhcpv6ServiceType" : "SERVER", "dhcpv6Server" : { "addressPrefix" : "FC00::1/120", "addressPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "delegationPrefix" : "FC00::1/120", "delegationPrefixAssignLength" : "", "delegationPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "FC00::1", "endAddress" : "FC00::1" } ], "firstDnsServer" : "FC00::1", "secondDnsServer" : "FC00::1", "domainName" : "0" }, "dhcpv6Relay" : { "serverIps" : ["FC00::1"] } }, "unrHostRouteAdvertiseEnable" : false, "dhcpTriggerEnable" : false, "unrRoutesLimitEnable" : "", "unrRoutesLimit" : 24, "ntpDisable" : "", "ntpIpv6Disable" : "", "raHaltEnable" : "", "managedAddressFlagEnable" : "" } } ], "fail" : [ { "operType" : "", "status" : "", "description" : "abc", "errmsg" : "", "physicInfo" : { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW", "deviceRole" : "core", "linkType" : "VLANIF", "l2Ports" : [ { "portIdentifier" : "Eth-Trunk1", "tagType" : "TAG" } ], "l3Port" : { "portIdentifier" : "Eth-Trunk1" } }, "ipInfo" : { "coreSubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "gatewaySubnetId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "coreIpAddress" : "192.168.10.10", "gatewayIpAddress" : "192.168.10.20", "gatewaySecondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "maskLength" : 24, "gatewayIpv6Address" : "FC00::1", "ipv6PrefixLength" : 64, "id" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "connectVlan" : 10, "trustEnable" : false, "trust" : "dscp", "ipAddress" : "192.168.10.1", "ipv6Address" : "FC00::1/120" }, "advancedInfo" : { "secondaryIp" : ["10.10.10.2/24","10.10.11.2/24"], "securityZone" : "TRUST", "proxyArp" : false, "innerProxyArp" : false, "toVasEnable" : false, "attributes" : { "mtu" : 1500, "mss" : 1200 }, "vrrp" : { "enable" : false, "vrrpId" : 1, "virtualIpAddress" : "192.168.0.1;192.168.0.2", "vrrpRole" : "MASTER", "priority" : 1, "preemptDelay" : 0, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrpList" : [ { "vrrpId" : 1, "virtualIpAddress" : "10.1.1.1;10.1.2.1", "vrrpRole" : "master", "preemptDelay" : 0, "priority" : 1, "authMode" : 1, "authKey" : "1", "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ] } ] }, "dhcp" : { "enable" : false, "dhcpServiceType" : "SERVER", "dhcpServer" : { "useSecondaryIP" : false, "leaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "192.168.1.2", "endAddress" : "192.168.1.3" } ], "dhcpStatic" : [ { "ipAddress" : "192.168.1.10", "macAddress" : "00e0-fc12-3456" } ], "dhcpOption" : [ { "code" : 43, "type" : 1, "value" : "192.168.1.0", "description" : "Wins/Netbios server" } ], "dnsServerIp" : ["192.168.0.1"], "domainName" : "abc.com" }, "dhcpRelay" : { "serverIps" : ["192.168.0.1"], "sourceAddress" : "10.10.10.2", "gatewayAddress" : "10.10.10.3", "dhcpRelayOption82" : { "function" : 0, "vlanId" : 1, "subOption" : [ { "subOptionCode" : 0, "isUserDefined" : true, "value" : "ZID023301" } ] }, "linkSelectionInsertEnable" : true, "linkSelectionInsertIp" : "10.10.10.1" } }, "vrrp6" : { "vrrp6Enable" : true, "vrrp6List" : [ { "vrrp6Id" : 1, "virtualIpv6AddressLinkLocal" : "FC00::1", "virtualIpv6Address" : "FC00::1;FC00::2", "preemptDelay" : 0, "priority" : 1, "track" : [ { "sourceIpAddress" : "192.168.1.0", "peerIpAddress" : "192.168.1.0", "localDiscriminator" : 10, "remoteDiscriminator" : 10, "interval" : 20, "interfaceName" : "GE0/0/1", "priorityMode" : "REDUCE", "value" : 10, "type" : "ipv4" } ], "vrrp6Role" : "" } ] }, "dhcpV6" : { "dhcpV6Enable" : true, "dhcpv6ServiceType" : "SERVER", "dhcpv6Server" : { "addressPrefix" : "FC00::1/120", "addressPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "delegationPrefix" : "FC00::1/120", "delegationPrefixAssignLength" : "", "delegationPrefixLeaseTime" : { "day" : 0, "hour" : 0, "minute" : 0 }, "excludeIpGroups" : [ { "startAddress" : "FC00::1", "endAddress" : "FC00::1" } ], "firstDnsServer" : "FC00::1", "secondDnsServer" : "FC00::1", "domainName" : "0" }, "dhcpv6Relay" : { "serverIps" : ["FC00::1"] } }, "unrHostRouteAdvertiseEnable" : false, "dhcpTriggerEnable" : false, "unrRoutesLimitEnable" : "", "unrRoutesLimit" : 24, "ntpDisable" : "", "ntpIpv6Disable" : "", "raHaltEnable" : "", "managedAddressFlagEnable" : "" }, "errcode" : "0", "errmsg" : "" } ] } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
共100000条