cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3009
Views
3
Helpful
6
Replies

STP Optimise BPDU Transmission?

pgalligan
Level 1
Level 1

Can anyone tell me what this command does. The default for our switches is for it to be disabled, ie. "no spanning-tree optimise bpdu transmission". I have checked the documentation for the relevant switch models and can't find it in the command references or configuration guides.

thanks

1 Accepted Solution

Accepted Solutions

That's really a subtle IOS architectural optimization so I don't want to enter into the details, but basically:

-Without optimized transmission, BPDUs are sent independently one by one from the STP process.

-When optimized BPDU transmission is used, the BPDUs for a given vlan are prepared first (they all look the same in fact) and then sent in a row at interrupt level (with no further CPU interruption). The main advantage is that the same packet buffer is allocated once and recycled for all the BPDUs, instead of being allocated and freed for each and every BPDU.

Regards,

Francois

View solution in original post

6 Replies 6

arvindchari
Level 3
Level 3

Usually I refer to

http://www.boerland.com/dotu/

for undocumented command references.

This one does not seem to be listed there!

Francois Tallet
Level 7
Level 7

The optimize bpdu transmission is a mechanism that allows BPDUs to be sent in one shot at interrupt level. It is supposed to relieve the STP process in PVST mode. It's not a fundamental feature and should not have been exposed to the user. The fact that this is disabled (and thus that it shows up in the configuration) is a bug. So basically, don't worry too much about that. When you have a release that allows to enable it again, you can do it and forget about it.

Regards,

Francois

When you say "sent in one shot" what exactly do you mean?

Thanks!

That's really a subtle IOS architectural optimization so I don't want to enter into the details, but basically:

-Without optimized transmission, BPDUs are sent independently one by one from the STP process.

-When optimized BPDU transmission is used, the BPDUs for a given vlan are prepared first (they all look the same in fact) and then sent in a row at interrupt level (with no further CPU interruption). The main advantage is that the same packet buffer is allocated once and recycled for all the BPDUs, instead of being allocated and freed for each and every BPDU.

Regards,

Francois

OK, thanks.

Perfect, thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: