Report for BPDUGuard Enabled Ports

Solved
bit_transporter
Getting noticed

Report for BPDUGuard Enabled Ports

Not able to find any information anywhere, so this may not be possible, but wanted to ask here in case.

 

Is there a type of report or API call that can be generated that show all MS250 switchports which have BPDUguard enabled?

 

 

1 Accepted Solution
Ryan_Miles
Meraki Employee
Meraki Employee

At the network level in dashboard you can enable the RSTP column on the switchports page and it will show the port config. You can also download the page as a CSV if needed.

 

For an Org level option you can use this API endpoint https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-by-switch/ and it will also expose the STP config of every port.

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.

View solution in original post

9 Replies 9
RaphaelL
Kind of a big deal
Kind of a big deal

Hi ,

 

Yes this can be achieved with a single call : https://developer.cisco.com/meraki/api/get-organization-switch-ports-statuses-by-switch/

 

https://developer.cisco.com/meraki/api/get-organization-switch-ports-by-switch/

 

 

First call you will see either Error or Warning : BPDUguard discarding packets or something like that. ( which ports are triggered by BPDUguard )

Second call you will see which ports are configured with BPDU guard.

bit_transporter
Getting noticed

Excellent, thank you!

Ryan_Miles
Meraki Employee
Meraki Employee

At the network level in dashboard you can enable the RSTP column on the switchports page and it will show the port config. You can also download the page as a CSV if needed.

 

For an Org level option you can use this API endpoint https://developer.cisco.com/meraki/api-v1/get-organization-switch-ports-by-switch/ and it will also expose the STP config of every port.

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
bit_transporter
Getting noticed

Thank you, much appreciated!

bit_transporter
Getting noticed

I am only seeing "Enabled" or "Forwarding" under the RSTP column in the Dashboard view. Is there a way to see if BPDUguard is turned on in a similar view? 

Ryan_Miles
Meraki Employee
Meraki Employee

If any guard mode is enabled it would show in that column. If the column only says enabled or forwarding it means no guard mode is configured. 

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
bit_transporter
Getting noticed

Ah, makes sense. Thank you kindly for explaining!

RaphaelL
Kind of a big deal
Kind of a big deal

RaphaelL_0-1704392802945.png

The 2 top ports only have RSTP enabled , while the bottom port has RSTP + BPDU guard.

bit_transporter
Getting noticed

Thanks for the tip. I have also noticed that if the status is 'Forwarding' some have BPUDguard enabled and some do not. It does not distinguish, but only states 'Forwarding'. 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels