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

Closed
aniljham opened this issue Jan 28, 2023 · 5 comments
Closed

EthernetSwitchingTable returns 0 items #1228

aniljham opened this issue Jan 28, 2023 · 5 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

@charlottecampbell193
Copy link

charlottecampbell193 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

chidanandpujar added a commit to chidanandpujar/py-junos-eznc that referenced this issue Oct 23, 2024
dineshbaburam91 added a commit that referenced this issue Oct 23, 2024
…ew_fix1

Fix for EthernetSwitchingTable issue #1228
@dineshbaburam91
Copy link
Collaborator

Fixed #1341. Hence, closed it.

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

5 participants