04-02-2024 05:59 PM
Hi,
I've been playing around with spanning-tree BPDUguard for a topology that has 3 switches connected on both GNS3 and PacketTracer, and both depicts the same:
Topology:
SW1---SW2---SW3
Config:
The switchport status for the SW2's interface connected to SW3 is:
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: static access
On SW2 I have enabled portfast globally, which (As for my knowledge) enables porfast on all access ports.
spanning-tree portfast default
In my mind, SW2's port connecting to SW3 is acting as an access port, hence portfast should be enabled.
On SW2 I have also enabled bpduguard globally, which applies to all portfast enabled interfaces:
spanning-tree portfast bpduguard default
Issue:
When I connect SW3, nothing happens.. no blocking ports due to BPDUguard or anything like that, however when I enable on SW2's interface the command spanning-tree bpduguard enable then all the sudden it works fine if I reconnect SW3...
Why is SW2 not blocking any ports to errdisable state when both global commands for portfast and bpduguard are enabled? I thought that I did not have to configure those per-interface basis.
Is there something I am missing from the picture?
04-02-2024 09:04 PM
Will try it in my lab and share result with you,
Indeed it must go to errdisable, but let me double check
MHM
04-02-2024 11:48 PM
I run Lab
SW1-SW2
and SW2 show err-disable and SW1 dont show anything, hence the global port fast and bpdu guard disable the err-interface
so check both SW
MHM
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