Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get 'show flogi database' and 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk #193

Open
Guru67724 opened this issue Mar 20, 2020 · 5 comments

Comments

@Guru67724
Copy link

Hi All,

I have been using ucsmsdk to manage fi operations.

But i have some difficulty in finding the corresponding classes/mometa objects for the following cli
commands.

  1. show flogi database.
  2. show mac address-table.

If any classes are available for the above functionalities, please let me know.
I am expecting something of the form to be used with
handle.query_classId("xxxxxxxxxxx")

Thanks
Guru Prasad

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Oct 11, 2023
@bryanrood
Copy link

bryanrood commented Oct 11, 2023 via email

@github-actions github-actions bot removed the stale label Oct 12, 2023
@vvb
Copy link
Member

vvb commented Oct 12, 2023

You just did.

Regarding the question. ucsmsdk only exposes data that is available via UCSM. The commands you referred to are NXOS commands and that data is not exposed via UCSM.

@bryanrood
Copy link

bryanrood commented Oct 12, 2023 via email

@vesposito
Copy link
Contributor

You can query CDP neighbors via ucsmsdk, because they are exposed in UCSM if you enable the "Info Policy" in the Global Settings. Then, you can query networkLanNeighborEntry for CDP neighbors, networkLldpNeighborEntry for LLDP neighbors and networkSanNeighborEntry for SAN neighbors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants