华为乾坤-修改认证设备:请求示例
时间:2025-05-12 15:31:31
请求示例
HTTP的示例
PUT /controller/campus/v1/accesscfg/device/authdevice 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 { "name" : "device", "description" : "this is device", "ip" : "10.254.254.254", "backupIp" : "10.254.254.253", "deviceGroupId" : "5c37d9e8-cdf6-11e8-a4fc-286ed488df6b", "deviceGroupName" : "5c37d9e8-cdf6-11e8-a4fc-286ed488df6b", "series" : "Cisco Catalyst", "apn" : "APN-1", "enableRadius" : true, "radiusParam" : { "accountingKey" : "Example@123", "authenKey" : "Example@123", "coaPort" : 1700, "accountingPeriod" : 5, "macPwdEnable" : false, "macAuthPwd" : "Example@123", "radiusServiceTypeEnable" : false, "radiusServiceTypeDevice" : 8, "radiusServiceTypeTerminal" : 4 }, "enablePortal" : true, "portalParam" : { "protol" : "CMCC Portal", "portalKey" : "Example@123", "urlKey" : "Example@123", "stations" : ["10.254.254.254"], "enableUserSync" : false, "port" : 80, "portalServiceTypeEnable" : true, "portalServiceTypeTerminal" : 4, "portalIp" : "10.254.254.254", "httpProtocol" : "HTTPS" }, "enableTacacs" : true, "tacacsParam" : { "key" : "Example@123" }, "deviceGroupInfos" : [ { "devGroupId" : "5c37d9e8-cdf6-11e8-a4fc-286ed488df6b", "devGroupName" : "devGroupName1" } ], "id" : "5c37d9e8-cdf6-11e8-a4fc-286ed488df6b" }
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002164038825.html