华为云用户手册

  • 响应示例 返回状态码为200:查询成功,响应体参考CentralizedInterworkingResponse。 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" : "", "errmsg" : "", "data" : { "centralizedSiteInfos" : [ { "siteId" : "00000000-0000-0000-0000-000000000000", "siteName" : "site1", "igwEnable" : true, "enableUnderlayFirst" : false, "priority" : "active", "tnpConfigs" : [ { "transportNetworkPortId" : "00000000-0000-0000-0000-000000000000", "transportNetworkPortName" : "ApSite", "priority" : 1, "bandwidth" : 10, "mtu" : 1500 } ] } ] } } 返回状态码为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:配置成功。 表3 AccessControlRes对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~255个字符。 - 错误描述。 "" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/interface/access-controller 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 { "deviceId" : "00000000-0000-0000-0000-000000000000", "interfaceNames" : [ "GigabitEthernet0/0/1" ], "enableAccessControl" : "", "accessControlProtocols" : [ "HTTP" ] }
  • 响应示例 返回状态码为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" : "" } 返回状态码为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的示例 DELETE /controller/campus/v1/lanwan/interconnection/link/fbb684c8-0d37-496f-bafa-4b06d5151e2e 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:请求成功。 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" : { "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" : "" } ] } 返回状态码为204:删除成功返回,返回体参考:ResponseInfo。 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 { "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
  • 响应参数 返回状态码为200:请求成功。 表2 ResponseInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" data REFERENCE 详细请参见表29。 互联信息。 - success ARRAY_REFERENCE 0-100个列表项,详细请参见表54。 创建或者更新成功的子网信息。 - fail ARRAY_REFERENCE 0-100个列表项,详细请参见表55。 创建或者更新失败的子网信息。 - 返回状态码为204:删除成功返回,返回体参考:ResponseInfo。 ResponseInfo对象的参数列表,详细请参见表2。 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:接口调用成功,响应体参考OpsParamResponse。 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" : [ { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "cloudType" : "HUAWEI", "publicKey" : "xxxx-xxxx-xxxx", "secretKey" : "********", "regionId" : "cn-north-1", "vpcId" : "00000000-0000-0000-0000-000000000000", "activeNextHopId" : "00000000-0000-0000-0000-000000000000", "standbyNextHopId" : "00000000-0000-0000-0000-000000000000" } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "cloudType" : "HUAWEI", "publicKey" : "xxxx-xxxx-xxxx", "secretKey" : "********", "regionId" : "cn-north-1", "vpcId" : "00000000-0000-0000-0000-000000000000", "activeNextHopId" : "00000000-0000-0000-0000-000000000000", "standbyNextHopId" : "00000000-0000-0000-0000-000000000000" } } ] } 返回状态码为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的示例 PUT /controller/campus/v1/sdwan/net/cloud/ops 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 { "opsInfos" : [ { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "cloudType" : "HUAWEI", "publicKey" : "xxxx-xxxx-xxxx", "secretKey" : "********", "regionId" : "cn-north-1", "vpcId" : "00000000-0000-0000-0000-000000000000", "activeNextHopId" : "00000000-0000-0000-0000-000000000000", "standbyNextHopId" : "00000000-0000-0000-0000-000000000000" } ] }
  • 请求示例 HTTP的示例 GET /controller/campus/v1/performanceservice/basicperformance/queryDeviceAlarm?deviceId= &pageSize= &pageNo= 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:接口调用成功,响应体参考DeviceAlarmInfoResponse。 表2 DeviceAlarmInfoResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码 "0" errmsg string 0~256个字符。 - 错误信息。 "" total int32 - - 数据总条数 100 data ARRAY_REFERENCE 详细请参见表3。 数据集合 - 表3 DeviceAlarmInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 deviceMac string - - 设备mac地址 "" deviceName string - - 设备名 "" siteName string - - 站点 "" alarmName string - - 告警 "" alarmLevel string - - 告警级别 "" alarmSuggestions string - - 告警判断 "" occurTime string - - 告警产生时间 "0" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:接口调用成功,响应体参考DeviceAlarmInfoResponse。 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" : "", "total" : 100, "data" : [ { "deviceMac" : "", "deviceName" : "", "siteName" : "", "alarmName" : "", "alarmLevel" : "", "alarmSuggestions" : "", "occurTime" : "0" } ] } 返回状态码为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
  • URI /controller/campus/v1/performanceservice/basicperformance/queryDeviceAlarm 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 是 string - - 设备ID,UUID格式。 - pageSize 是 integer - - 每页数据量 - pageNo 是 integer - - 当前页 -
  • 响应示例 返回状态码为200:站点模板个性化内SSID信息,返回结构体参见QuerySsidResponse。 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" : [ { "id" : "de5813f8ff1e41f5ba9c324da70b49ed", "name" : "Huawei-Guest", "pki" : "default", "tags" : [ { "name" : "testApTag" } ], "strategyId" : "6e930b21-a107-45a9-96a2-f1443ca82f39", "enable" : true, "connectionMode" : "bridge", "vlans" : [ { "priority" : 0, "vlanId" : 10, "vlanDesc" : "work", "tags" : [ { "name" : "testApTag" } ] } ], "vlanId" : 10, "vlanDesc" : "work", "vlanMode" : "vlanId", "vlanPoolId" : "1e930b21-a307-45a9-96a2-f1443ca84f39", "vlanPoolName" : "vlanPool", "hidedEnable" : false, "autoOffTrackLinkEnable" : false, "arpCheckEnable" : true, "ipCheckEnable" : true, "dhcpStrictEnable" : false, "dhcpv6SlaacStrictEnable" : 0, "mdnsSnoopingEnable" : false, "dnsSnoopingEnable" : false, "gameSpeedUpEnable" : false, "relativeRadios" : 3, "relativeOnlyTwoRadios" : 3, "dtimInterval" : 1, "advertiseApNameSwitch" : true, "frequencyNavigation" : true, "maxUserNumber" : 10, "userSeparation" : false, "separationOption" : "disable", "userL2LanIsolate" : false, "staNetworkDetect" : true, "muMiMo" : true, "associationTimeout" : 5, "erSuSwitch" : true, "userFlowSyslogEnable" : false, "multiLinkOper" : false, "lay3RoamSwitch" : true, "suExtendedRangeSwitch" : false, "muRtsSwitch" : false, "muRtsThreshold" : 2347, "forbiddenOldTerminal" : false, "reachMaxSta" : 1, "igmpSnooping" : false, "multicast2Unicast" : "disable", "bcmcDenyAll" : false, "bonjourTransparent" : false, "powerSave" : false, "beacon2gRate" : "1Mbps", "beacon5gRate" : "6Mbps", "beacon6gRate" : "6Mbps", "sipPort" : 5060, "timeTemplateId" : "b90f8190-e12f-4323-95f3-4018309209c4", "timeTemplateName" : "全天", "seaSwitch" : false, "overDsPrivate" : "disable", "blackAndWhite" : { "bindingType" : 2, "terminalMacList" : [ "XX:XX:XX:XX:XX:XX" ], "terminalOUIList" : [ "02:02:01" ] }, "ssidAuth" : { "mode" : "ppsk", "oweTransitionMode" : true, "transitionOpenSsid" : "de5813f8ff1e41f5ba9c324da70b49ed", "pskEncryptType" : "wpa2", "wepType" : "WEP40", "wepDefaultKey" : 0, "enableMacAuth" : false, "saeEncryptType" : "", "saeSecurityKey" : "", "pskSaeEncryptType" : "", "pskSaeSecurityKey" : "", "securityKey" : "", "securityKeyType" : "AES", "dot1xEncryptType" : "", "dot1xQuietPeriod" : 60, "dot1xQuietTimes" : 10, "portal" : { "mode" : "portalDisable", "pushProtocol" : "https", "freeAuthEnable" : true, "authExpireUnit" : "day", "authExpire" : 10, "escapeStrategy" : 2, "escapeProfileName" : "escapeStrategy1", "escapeProfileId" : "5871926c-2a5e-4340-a931-19ce019a231c", "freeAclTmplId" : "b90f8190-e12f-4323-95f3-4018309209c4", "freeAclTmplName" : "free-rule", "controllerPortalType" : "haca", "masterPortalTmplId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "masterPortalTmplName" : "", "bakPortalEnable" : false, "bakPortalTmplId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "bakPortalTmplName" : "", "authRedirectUrlCarryEnable" : false, "radiusEnable" : false, "radiusTmplId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "radiusTmplName" : "", "fastPushEnable" : true, "portalPageId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "wechatUrlAuthEnable" : false, "weComAuthEnable" : false, "dingTalkEnable" : false, "normalEnable" : false, "registerEnable" : false, "registerExpire" : 2, "registerExpireUnit" : "hour", "userRegisterMaxAccessNumber" : 0, "userGroupId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "smsAuthEnable" : false, "smsPasswordExpire" : 5, "smsPasswordExpireUnit" : "minute", "smsUserRegisterEnable" : false, "smsUserExpire" : 2, "smsUserExpireUnit" : "hour", "smsUserMaxAccessNumber" : 0, "smsUserGroupId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc", "emailAuthEnable" : false, "passCodeEnable" : false, "oneKeyAuthEnable" : false, "anonymousEnable" : false, "socialMediaEnable" : false, "twitterEnable" : false, "sinaEnable" : false, "qqEnable" : false, "qrCodeAuthEnable" : false, "qrCodeRegisterEnable" : false, "googleEnable" : false, "accountingEnable" : false, "accountingExpire" : 15, "interconnectionMode" : "API", "userNameKey" : "用户", "passwordKey" : "", "urlMatchMode" : 0, "successUrlKey" : "", "authFailedUrlKey" : "", "logoutSuccessUrlKey" : "", "logoutFailedUrlKey" : "", "logoutUrlKey" : "", "radiusModelId" : "0b6d8077-947a-41d0-a539-c8a02c5fe6dc" }, "radius" : { "radiusTmplId" : "", "radiusTmplName" : "", "staticEnable" : "", "iconnectAccessEnable" : "", "autoReauthenTime" : "", "hacaEnable" : "" }, "macAutoBinding" : true, "macAuthMethod" : "", "escapeStrategy" : "noAuth", "escapeProfileName" : "escapeStrategy1", "escapeProfileId" : "5871926c-2a5e-4340-a931-19ce019a231c", "haca" : { "authComponentId" : "00000000-0000-0000-0000-000000000000", "authComponentIp" : "10.20.0.0", "bakAuthComponentId" : "00000000-0000-0000-0000-000000000000", "bakAuthComponentIp" : "10.20.0.0" } }, "vapBackupConfig" : { "vapBackupEnable" : false, "radiusBackupTmplId" : "cf23f275-01e6-4301-890e-407e1d78c53e", "rejectNewAccess" : false }, "ssidPolicy" : { "securityPolicy" : { "highReliableSliceAclTplId" : "b90f8190-e12f-4323-95f3-4018309209c4", "highReliableSliceAclTplName" : "test-slice-acl", "highReliableSliceAclTplIdIpv6" : "b90f8190-e12f-4323-95f3-4018309209c4", "highReliableSliceAclTplNameIpv6" : "test-slice-acl", "securityAclTmplId" : "b90f8190-e12f-4323-95f3-4018309209c4", "securityAclTmplName" : "test-security-acl", "securityIPv6AclTmplId" : "b90f8190-e12f-4323-95f3-4018309209c4", "securityIPv6AclTmplName" : "test-security-acl", "tunnelAclTmplId" : "b90f8190-e12f-4323-95f3-4018309209c5", "tunnelAclTmplName" : "test-tunnel-acl", "ipsecAclTmplId" : "b90f8190-e12f-4323-95f3-4018309209c5", "ipsecAclTmplName" : "test-ipsec-acl", "tcpAdjustMss" : 1380, "appTrafficAcls" : { "appTrafficAclList" : [ { "direction" : "inbound", "index" : 0, "dscp" : 1, "appTrafficAclTplId" : "b90f8190-e12f-4323-95f3-4018309209c5", "appTrafficAclName" : "test-tunnel-acl" } ] }, "urlFilter" : { "enable" : true, "mode" : 1, "urls" : [ "" ], "hostNames" : [ "" ] }, "appsPolicys" : { "siteSaList" : [ { "appId" : 1, "type" : "app", "appType" : 1, "appName" : "test_name", "action" : "permit", "dscp" : 1, "car" : 1000 } ] } }, "ssidRateLimit" : { "upEnable" : true, "upLimit" : "50.0", "downEnable" : true, "downLimit" : "50.0" }, "terminalRateLimit" : { "upEnable" : true, "upLimit" : "50.0", "downEnable" : true, "downLimit" : "50.0", "timeRange" : [ { "timeTemplateId" : "b90f8190-e12f-4323-95f3-4018309209c4", "upEnable" : true, "upLimit" : "50.0", "downEnable" : true, "downLimit" : "50.0" } ] }, "terminalDynamicRateLimit" : { "dynamicEnable" : false, "dynamicLimit" : 16 }, "ipv6Enable" : false, "ndTrustPort" : false }, "dot11r" : false, "overDs" : false, "reassociateTimeout" : 1, "serviceGuarantee" : "performanceFirst", "activeDullClient" : false, "wmmScene" : "default", "edcaClientConfigList" : [ { "accessCategory" : "acvo", "aifsn" : 10, "ecwmax" : 10, "ecwmin" : 10, "txoplimit" : 10 } ], "insertOption82Enable" : false, "option82" : { "circuitId" : { "connectorPattern" : "colon", "contentType" : "ap-mac", "format" : "ascii", "userDefinedText" : "xxx" }, "remoteId" : { "connectorPattern" : "colon", "contentType" : "ap-mac", "format" : "ascii", "userDefinedText" : "xxx" } }, "forwardMode" : "direct", "softgreProfileId" : "fbde1c5d-5b94-49e3-a912-48641015e45f", "configName" : "ssid-config-name", "phyProtection" : "security-priority" } ] } 返回状态码为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的示例 GET /controller/campus/v3/networkconfig/customized/fbde1c5d-5b94-49e3-a912-48641015e45c/apssid 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
  • 硬件安装云化设备 根据部署规划时的网络设备安装点位设计、设备间互联等信息,完成网络设备的硬件安装、连线、上电等操作,参见表1。 表1 硬件安装与布线任务一览表 任务 任务说明 参考链接 安装硬件设备 硬件设备安装需要遵循施工规范,常见的硬件施工规范有: 物理设备必须可靠接地。 物理设备谨慎搬运,要连带外纸箱或泡沫垫,不要裸机搬运。 所有光纤、网线、高速电缆和电源线分开布线,规范折弯有序捆扎。 所有光纤、网线和电源线需要考虑长度和传输距离是否能够满足环境的需求。 请单击以下设备名称,进入“硬件安装与维护指南”手册,查看对应设备款型的安装指导。 若无法找到,请在搜索框中输入设备款型查找安装指导。 WAC 核心交换机 接入交换机 AP 连接线缆 根据布线规划完成线缆连接,连接时注意按照规范在线缆两端打上标签。 设备配电、上电 请按照规划的配电参数和各个产品的产品文档来执行设备上电操作。
  • 请求示例 HTTP的示例 GET /controller/campus/v1/sdwan/policy/traffic/internet/00000000-0000-0000-0000-000000000000/centralized-access/inherit 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:查询成功。 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" : { "inheritSwitchEnable" : true }, "processInstanceId" : "" } 返回状态码为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的示例 GET /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-route-policy:ext-community-filter 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:操作成功。 表3 ext-community-filter-list对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 huawei-nce-e-route-policy:ext-community-filter ARRAY_REFERENCE 详细请参见表4。 扩展团体属性配置参数。 - 表4 nes-ne-ext-community-filter对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 config-status string reserved initial configuring-database configured-database-success configured-database-failed configuring-device configured-device-success configured-device-failed reserved 配置状态,对应保留未用状态、初始状态、数据库存储中状态、预配置状态、数据库存储失败状态、部署中状态、成功状态、失败状态;不支持编辑,仅查询返回。 "configured-database-success" last-committed-time string 0~255个字符。 - 最后提交时间,该特性最后提交时间;不支持编辑,仅查询返回。 "2022-01-01 00:00:00" related-pkg-version string 0~255个字符。 - 包版本,插件包版本;不支持编辑,仅查询返回。 "1.0.1" edit-state string RUNNING CANDIDATE UNDEPLOYING UNDEPLOYED - 编辑状态,对应运行状态、候选状态、取消部署状态、未部署状态;不支持编辑,仅查询返回。 "RUNNING" name string - - 名称,整数形式时范围1-199,字符串形式时1-51个字符且不能都是数字,单一主键字段。 "filter1" filter-type string basic advanced - 过滤类型。 "basic" basic-node ARRAY_REFERENCE 1-65535个列表项,详细请参见表5。 节点。 - 表5 nes-ne-ext-community-filter-basic-node对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 sequence int64 [1-4294967295] - 序号,单一主键字段。 1 match-mode string permit deny - 匹配类型。 "permit" ext-community-member ARRAY_REFERENCE 1-16个列表项,详细请参见表6。 扩展团体属性。 - 表6 nes-ne-ext-community-filter-basic-node-ext-community-member对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 value string 3~21个字符。满足正则表达((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0))|((6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0):(([0-9]\d{0,8})|([1-3]\d{9})|(4[0-1]\d{8})|(42[0-8]\d{7})|(429[0-3]\d{6})|(4294[0-8]\d{5})|(42949[0-5]\d{4})|(429496[0-6]\d{3})|(4294967[0-1]\d{2})|(42949672[0-8]\d{1})|(429496729[0-5])))|((((6553[6-9])|(655[4-9]\d{1})|(65[6-9]\d{2})|(6[6-9]\d{3})|([7-9]\d{4}))|([1-9]\d{5,8})|((4[0-1]\d{8})|(42[0-8]\d{7})|(429[0-3]\d{6})|(4294[0-8]\d{5})|(42949[0-5]\d{4})|(429496[0-6]\d{3})|(4294967[0-1]\d{2})|(42949672[0-8]\d{1})|(429496729[0-5]))):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0))|((6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0)\.(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}|0))。 - 扩展团体值,取值范围为0-65535:0-4294967295 或 0.0.0.0-255.255.255.255:0-65535 或 65536-4294967295:0-65535 或 0-65535.0-65535:0-65535,单一主键字段。 "1:1" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-route-policy:ext-community-filter 表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:操作成功。 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 { "huawei-nce-e-route-policy:ext-community-filter" : [ { "config-status" : "configured-database-success", "last-committed-time" : "2022-01-01 00:00:00", "related-pkg-version" : "1.0.1", "edit-state" : "RUNNING", "name" : "filter1", "filter-type" : "basic", "basic-node" : [ { "sequence" : 1, "match-mode" : "permit", "ext-community-member" : [ { "value" : "1:1" } ] } ] } ] } 返回状态码为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:查询返回的VLAN POOL模板信息。 表2 QueryVlanpoolRespose对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 1~32个字符。 0 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" totalRecords int32 [1-1500] - 查询匹配到的VLAN POOL模板总数。 1 pageIndex integer [1-1500] - 分页查询,起始值。 0 pageSize integer [1-100] - 分页查询,每页数量。 20 data ARRAY_REFERENCE 0-100个列表项,详细请参见表4。 返回的VLAN POOL模板记录信息。 - 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:查询返回的VLAN POOL模板信息。 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" : "", "totalRecords" : 1, "pageIndex" : 0, "pageSize" : 20, "data" : [ { "id" : "fbde1c5d-5b94-49e3-a912-48641015e45c", "name" : "VLANPOOLTemplate1", "range" : "2-10,3001", "type" : "even" } ] } 返回状态码为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
  • URI /v1/networkconfig/policy/profiles/vlanpools 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 name 否 string 0~64个字符。 - vlan pool名称 "vlanpool1" pageIndex 是 integer [1-1500] 1 当前页码。 "1" pageSize 是 integer [1-100] 20 每页数量。 "30"
  • 请求示例 HTTP的示例 GET /v1/networkconfig/policy/profiles/vlanpools?name=vlanpool1&pageIndex=1&pageSize=30 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
  • 请求示例 HTTP的示例 GET /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-static-routing-ipv4:static-routing-ipv4/10.1.1.0%2F24/vpn1/Ip 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 { "huawei-nce-e-static-routing-ipv4:static-routing-ipv4" : [ { "config-status" : "configured-database-success", "last-committed-time" : "2022-01-01 00:00:00", "related-pkg-version" : "1.0.1", "edit-state" : "RUNNING", "destination-prefix" : "10.1.1.0/24", "vpn-instance" : "vpn1", "next-hop-type" : "Ip", "next-hop-addresses" : [ { "address" : "10.1.1.1", "preference" : 10, "track-setting" : "nqa", "nqa" : "test", "bfd-enable" : true } ], "next-hop-interfaces" : [ { "interface" : "GE0/0/1", "preference" : 10, "dhcp-enable" : true, "track-setting" : "nqa", "nqa" : "test" } ], "next-hop-interface-addresses" : [ { "address" : "10.1.1.1", "interface" : "GE0/0/1", "preference" : 10, "track-setting" : "nqa", "nqa" : "test", "bfd-enable" : true } ] } ] } 返回状态码为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-static-routing-ipv4:static-routing-ipv4/{destination-prefix}/{vpn-instance}/{next-hop-type} 表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" destination-prefix 是 string 满足正则表达(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))。 - IPv4目的网段/掩码,联合主键字段。 "10.1.1.0/24" vpn-instance 是 string 1~31个字符。 - VPN,联合主键字段。 "vpn1" next-hop-type 是 string Ip Interface IpInterface black_hole - 下一跳类型,联合主键字段。 "Ip"
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/sdwan/aaa/authorization/00000000-0000-0000-0000-000000000000 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 { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "authorizationSchema" : "name", "privilegeLevel" : 10, "authorizationModel" : { "primaryModel" : "hwtacacs", "backupModel" : "local" }, "deviceAuthorId" : "00000000-0000-0000-0000-000000000000" }
共100000条
提示

您即将访问非华为云网站,请注意账号财产安全