Forum Discussion
Jan 05, 2017
Getting VLAN interface statistics via iControl Rest
Simple question, simple answer?
Is it possible to get the statistics from the host ifconfig via iControl rest?
/mgmt/tm/net/vlan/stats?options=interfaces does not contain it.
/Patrik
1 Reply
- Satoshi_Toyosa1Ret. Employee
11.5.0 release note says: "This release introduces a REST interface to iControl to remotely execute TMSH". If you can't find the information in
, you won't be able to find it in iControl REST too.show net vlanIf you want to execute
(unix)bash
, you can call/sbin/ifconfig
. For example,/mgmt/tm/util/bashcurl -sku admin:adminPass -X POST -H "Content-type: application/json" \-d "{\"command\":\"run\", \"utilCmdArgs\":\"-c '/sbin/ifconfig'\"}" \https://192.168.226.55/mgmt/tm/util/bashThe output looks ugly but it will do the job for you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects