- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting single port status and speed of MX devices
I need to retrive from the API the same port data shown under "Security & SD-WAN -> Appliance Status -> Summary: Ports"
The data I need
I haven't been able to find the correct API (or APIs) to get the data shown in the tooltip, does anyone have any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried this one?
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that gives uplink usage, I need ports (that are different from uplinks) and their connection speed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no API.
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MX LAN ports are not currently treated as switch ports so for the moment there is no API endpoints to get that info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't the web interface using the API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nope
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was an attempt to provide the switch port data for MXs a few years ago. It only lasted on the dashboard for a couple of days and never made it to the APIs due to numbering errors that were never resolved. An example of this is the MX75 where ports 1-3 are WAN ports so port 4 is actually called LAN port 0 in the back end, with port 5 being LAN 1 etc.
I don't know why they didn't fix it and republish the page as it doesn't seem an insurmountable issue to me.
