cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
890
Views
1
Helpful
7
Replies

stop outbound bpdus in SG350XG-24F

Eng.AD27
Level 1
Level 1

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

7 Replies 7

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.   

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

Got it. For this device, I prefer use the web interface. Can you ?

Get into the STP config for interfaces:

FlavioMiranda_0-1686746731923.png

Select the desired interface and uncheck the STP enable option

 

FlavioMiranda_1-1686746773230.png

 

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

subtle-difference-for-portfast-and-bpdufilter-used-together.jpg

Yes, the BPDU filter must config per-interface not in global mode 
this same as you disable STP in interface 

dear

whats  the wrong if i use the bpdu filter in Global mode ?

 

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.

Review Cisco Networking for a $25 gift card