Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

STP Optimise BPDU Transmission?

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

Re: STP Optimise BPDU Transmission?

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

6 REPLIES
Bronze

Re: STP Optimise BPDU Transmission?

Usually I refer to

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

for undocumented command references.

This one does not seem to be listed there!

Re: STP Optimise BPDU Transmission?

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

New Member

Re: STP Optimise BPDU Transmission?

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

Thanks!

Re: STP Optimise BPDU Transmission?

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

New Member

Re: STP Optimise BPDU Transmission?

OK, thanks.

New Member

Re: STP Optimise BPDU Transmission?

Perfect, thanks

193
Views
3
Helpful
6
Replies
CreatePlease to create content