Forum Discussion
Net Trunk API Status Field Missing
- Jan 13, 2023
trunk name such as "test-trunk", get its Status attribute you need to bring /stats in the end, example api url is:
curl -sku 'admin:xt32112300' https://192.168.5.109/mgmt/tm/net/trunk/test-trunk/stats | jq .
Of course, if the clear path of the url you not confirm, icontrol rest api gives an until.bash api, which can send the linux bash command to bigip, cmds like "tmsh show net trunk", it will return show net trunk result
trunk name such as "test-trunk", get its Status attribute you need to bring /stats in the end, example api url is:
curl -sku 'admin:xt32112300' https://192.168.5.109/mgmt/tm/net/trunk/test-trunk/stats | jq .
Of course, if the clear path of the url you not confirm, icontrol rest api gives an until.bash api, which can send the linux bash command to bigip, cmds like "tmsh show net trunk", it will return show net trunk result
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com