华为乾坤-创建SNMP User:请求示例
时间:2025-05-12 15:32:17
请求示例
HTTP的示例
POST /controller/campus/v1/sdwan/snmp/user/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-AC CES S-TOKEN: x-yyyyyy { "config-status" : "reserved", "errorInfo" : "", "agentEnable" : true, "allIpv4Interface" : false, "passwordMinLength" : 8, "usmUserCmplxCheck" : false, "sysContact" : "R&D Beijing, Huawei Technologies co.,Ltd.", "sysLocation" : "Beijing China", "mibViews" : { "mibView" : [ { "viewName" : "view1", "whiteList" : [ "iso" ], "blackList" : [ "internet" ] } ] }, "v3Groups" : { "group" : [ { "groupName" : "group", "securityLevel" : "privacy", "acl" : 2000, "readView" : "view1", "writeView" : "view1", "notifyView" : "view1" } ] }, "usmUsers" : { "usmUser" : [ { "name" : "user", "groupName" : "group", "authProtocol" : "sha2-512", "authKey" : "Example@123", "privProtocol" : "aes256", "privKey" : "Example@234" } ] } }
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001823709010.html