08-24-2023 10:21 PM
Dear All,
We previously used the following DCNM API in Cisco DCNM to gather Configuration & Performance data for Cisco switch ports and its metrics.
Configuration API:
fm/fmrest/inventory/getInterfacesBySwitch/?switchDbID=<value>&network=<value>
Performance API:
fm/fmrest/statistics/endportStat
However, for NDFC we were unable to get a NDFC API that collects performance data for Cisco switch port. Therefore, I would like to know the following:
1) Can we also collect performance data using the same API (fm/fmrest/statistics/endportStat) with NDFC?
2) If the answer for (1) is No, kindly please provide me the NDFC API that gathers performance information for switch ports.
3) Can we also collect configuration data using the same API (fm/fmrest/inventory/getInterfacesBySwitch/?switchDbID=<value>&network=<value>) with NDFC?
4) If the answer for (3) is No, kindly please provide me the NDFC API that gathers configuration information for switch ports.
Thanks
Akshay
09-21-2023 08:03 PM
Hi Akshay,
Could you please provide us the NDFC version that you are using. Because specially for NDFC lot of new API's were introduced in 12.1.2 and 12.1.3. And also give us some examples for which you want to use the API.
If you find my reply solved your question or issue, kindly click the 'Accept as Solution' button and vote it as helpful.
You can also learn more about Cisco NDFC (previously known as DCNM) through our live Ask the Experts (ATXs) session. Check out this ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
Thanks and regards,
Tarakesh Jetti - Customer Success Specialist - CX Team.
09-22-2023 02:24 AM
Hi Tarakesh,
Thanks for your response.
I am using Cisco NDFC v11.x.
I would like to know which API can be used to collect the performance data for Cisco switch port. Can you please tell me the API with example.
Also, if possible let me know the API which gathers configuration information for switch ports.
Thanks,
Akshay
09-25-2023 09:26 PM
Hi Akshay,
NDFC version starts with 12.x.
If you are using 11.X then i think you are asking about DCNM.
Please confirm the exact version.
You can also learn more about Cisco NDFC (previously known as DCNM) through our live Ask the Experts (ATXs) session. Check out this ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
Thanks and regards,
Tarakesh Jetti - Customer Success Specialist - CX Team.
09-28-2023 11:48 PM
Hi,
For Performance:
/appcenter/cisco/ndfc/api/v1/pm/stat/LanEthernetStatBySwIDs (they need to provide the switchDBID and the time interval, the default is "Day" so it will give the Daily average, "Hour" hourly, etc)
For Configuration:
/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/interface/detail (needs only the device SN and will return a list for all the interfaces on that device)
Or
/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/interface/detail/filter (they need to provide the device SN and can filter on different fields such as interface name, type, etc, and it will return then same information as above but only for a subset of interfaces which can go down to a single one if they specify the interface name)
You can also learn more about Cisco NDFC (previously known as DCNM) through our live Ask the Experts (ATXs) session. Check out this ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
Thanks and regards,
Tarakesh Jetti - Customer Success Specialist - CX Team.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide