1.缕清思路
首先确定目的,与相关模块(日志与模块在一起),验证工具(如postman),流程,以及其关键字
2.查看现象,
postman下发post内容:
接口:http://172.16.110.28:60277/qosconfig/v2/policy
body:{
“policy_id”: “policy_ws_1”,
“cfg_id”: “cfg_ws”,
“dev_id”: “dev_ws”,
“action”:
{
“traffic_ctrl”:
{
“pir”: 10000,
“cir”: 1000
}
},
“filter”:
{
“qinq”: {},
“acl”:
{
“acl_num”: “3001”,
“acl_id”: “acl_ws”,
“rule_list”:
[
{
“rule_num”: 1000,
“op”: 0,
“vrf_id”: “aaaaa@qq.com”,
“acl_id”: “acl_ws”,
“src_ip”: “172.16.2.0/24”
},
{
“rule_num”: 1001,
“op”: 1,
“acl_id”: “acl_ws”
}
]
}
}
}
返回结果:{
“msg”: “调用EMS接口
查看日志定位问题
最新推荐文章于 2024-05-28 09:37:47 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)