07-31-2024 10:56 PM
We know the command:
This command needs to be given on each individual switch for individual interface.
Is there a simple way to get all transceivers, from all switches details from APIC?
Solved! Go to Solution.
08-01-2024 12:27 AM
Ok @AshSe
You'll need to send HTTP requests to the APIC. This can be done using tools like curl
, Postman, or a programming language like Python.
First, you need to authenticate to the APIC to get a session token.
Once authenticated, you can query the APIC for the transceiver details. The specific managed objet you are looking for is ethpmFcot.
Check also here:
https://github.com/jaghabalayev/NetworkScripts/blob/main/aci-get-transceiver-count.py
07-31-2024 11:28 PM
Hello @AshSe
You could use the APIC's REST API. This approach allows you to automate the retrieval of this information without having to manually issue the command on each switch...
Are you familiar with Python script ?
07-31-2024 11:41 PM
Yes, I can understand Python script. Please tell me how to use APIC's REST API.
08-01-2024 12:27 AM
Ok @AshSe
You'll need to send HTTP requests to the APIC. This can be done using tools like curl
, Postman, or a programming language like Python.
First, you need to authenticate to the APIC to get a session token.
Once authenticated, you can query the APIC for the transceiver details. The specific managed objet you are looking for is ethpmFcot.
Check also here:
https://github.com/jaghabalayev/NetworkScripts/blob/main/aci-get-transceiver-count.py
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