Forum Discussion
Satoshi_Toyosa1
Jan 09, 2017Employee
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
show net vlan
, you won't be able to find it in iControl REST too.
If you want to execute
bash
(unix) /sbin/ifconfig
, you can call /mgmt/tm/util/bash
. For example,
curl -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/bash
The output looks ugly but it will do the job for you.