Forum Discussion

hagay_168627's avatar
hagay_168627
Icon for Nimbostratus rankNimbostratus
May 05, 2015

Interface mac address

hi folks, Is there a way to fetch BIG-IP net interface MAC address using rest API ? I have managed to retrieve interface details but the MAC address is missing. I am using the following command :

 

curl -k -u $f5_user_name:$f5_password -X GET https:// $f5_mgmt_host/mgmt/tm/cloud/net/interface/1.2 the following details are prompted :

 

{ "selfLink": "", "enabled": true, "objectId": 10789, "description": "", "name": "1.1", "fullPath": "1.1", "generation": 1, "lastUpdateMicros": 0, "kind": "tm:cloud:net:interface:netinterfacestate" }

 

2 Replies

  • curl -k -u $f5_user_name:$f5_password -X GET https:// $f5_mgmt_host/mgmt/tm/cloud/net/interface/1.2

     

    sorry i may be lost but shouldn't it be /mgmt/tm/net/interface or /mgmt/tm/net/vlan?