02-13-2013 05:44 AM - edited 03-07-2019 11:41 AM
Good Morning
I consider my question relatively basic, but I could not find in Internet a definitive and trusty answear.
In an environment containing a switch with an access-port (not trunk) and a device X connected to this port, even in access mode, we can consider spanning-tree working ?...
Is supposed the switch send BPDU ?
If we connect 2 switches using ports in access-mode (just one VLAN used for example), is supposed both devices sending and receiveing BPDU?
I want to demystify/clarify the facts:
- access-ports are only connected to final devices (servers) and don't speak spanning-tree protocols
- only trunk ports between switches can speak spanning-tree
02-13-2013 06:45 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
STP isn't determined by trunk ports vs. single VLAN switch ports.
Normally, for switches which have STP active, BPDUs are transmitted on all switch's "switchports".
Switchport ports that are going to be used strictly as an edge port (i.e. no possible L2 loop) can disable STP on that port (risky), or perhaps define the port as a STP "edge" port (recommended). The latter, for example, using Cisco's rapid-pvst is performed by setting "portfast". This will skip initial STP listening/learning/blocking, suppress sending BPDUs and stop generating TCNs with link status change. Usually this is only done with access-mode ports, but it can be done to trunk ports too. Note such a port, if it receives a BPDU, will drop out of "edge" mode, i.e. STP hasn't been totally inactivated.
02-21-2013 06:51 AM
Access ports will send BPDUs, even portfast ports do. To add to the previous comment, unless you have a BPDU filter or BPDU guard, the port will be send and recieve BPDUs. BPDUs are the way STP works, you can use the no spanning-tree vlan ID to complete disable STP and hence BPDU on the vlan. But not sure why this needs be done.IMHO BPDU flow can only be controlled at a port and cannot be disabled.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide