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

EthernetSwitchingTable returns 0 items #1228

Open
aniljham opened this issue Jan 28, 2023 · 4 comments
Open

EthernetSwitchingTable returns 0 items #1228

aniljham opened this issue Jan 28, 2023 · 4 comments
Assignees
Milestone

Comments

@aniljham
Copy link

Hi,
I am trying to use EthernetSwitchingTable op on EX3300 and EX2200 switches and always returns 0 items.
On switches like EX2300 i use ElsEthernetSwitchingTable and they work normally and return the expexted items.
any help with this table/view would be appreciated.

@ydnath
Copy link
Member

ydnath commented Feb 3, 2023

Which version of Junos are you using on EX2200 and 3300?

@aniljham
Copy link
Author

aniljham commented Feb 3, 2023 via email

@charrrr93
Copy link

charrrr93 commented May 19, 2023

Hi @aniljham , I was having the same issue and I fixed it by adding a key to the yaml file definition.

---
EthernetSwitchingTable:
    rpc: get-ethernet-switching-table-information
    args:
        detail: True
    key: mac-table-count
    item: ethernet-switching-table
    view: EthernetSwitchingView

@aniljham
Copy link
Author

aniljham commented May 29, 2023 via email

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

No branches or pull requests

4 participants