06-14-2023 05:14 AM - edited 06-14-2023 05:15 AM
Hello guys
i tried to stop the outbound bpdu for SG350XG ports or prevent the switch send the bpdu to the host
spanning-tree bpdu filtering >>> enabled globally
no spanning-tree portfast >>> configured under the interface
but the same issue it was still sent the bpdu to the host
anyone can help ?
Regards
06-14-2023 05:25 AM
Hi
You need to do the opposite on the port-fast, enable it.
spanning-tree portfast >>> configured under the interface
For "spanning-tree bpdu filtering >>> enabled globally" it would be for filter inbound bpdu and not outbound.
Enabling port-fast is enough.
06-14-2023 05:33 AM
Dear Flavio
thanks for your reply
i didi it but the same issue
spanning-tree bpdu filtering >>> globally
(config-if)#spanning-tree portfast
#sh spanning-tree TenGigabitEthernet1/0/4
Port te1/0/4 enabled
State: forwarding Role: designated
Port id: 128.4 Port cost: 2000
Type: P2P (configured:Auto ) STP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 34:ed:1b:bc:1f:ac
Designated port id: 128.4 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 464, received 0
#sh spanning-tree TenGigabitEthernet1/0/4
Port te1/0/4 enabled
State: forwarding Role: designated
Port id: 128.4 Port cost: 2000
Type: P2P (configured:Auto ) STP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 34:ed:1b:bc:1f:ac
Designated port id: 128.4 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 472, received 0
06-14-2023 05:46 AM
Got it. For this device, I prefer use the web interface. Can you ?
Get into the STP config for interfaces:
Select the desired interface and uncheck the STP enable option
06-14-2023 06:11 AM
thanks Flavio
as you mean the last configuration must be as below
Switch#sh run | inc bpdu
spanning-tree bpdu filtering
Switch#sh run int te1/0/4
interface TenGigabitEthernet1/0/4
spanning-tree disable
spanning-tree portfast
spanning-tree bpdu filtering
switchport mode trunk
no macro auto smartport
06-14-2023 06:15 AM - edited 06-14-2023 06:17 AM
Yes, the BPDU filter must config per-interface not in global mode
this same as you disable STP in interface
06-14-2023 06:17 AM
dear
whats the wrong if i use the bpdu filter in Global mode ?
06-14-2023 06:25 AM
when the SW receive any BPDU form neighbor, the bpdu filter is disable and the SW start send receive BPDU (start STP)
that why in table above mention that it safe, why because we only disable STP in port connect to Host not to other SW.
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