We are trying to configure certain switch ports not to receive BPDU packets due to devices dropping ping when they receive BPDU packets. However, the ‘qos user-port filter bpdu’ command doesn’t seem to be working properly.
Hello. My interpretation of your post is that you are mentioning 3 different things. I’ll break them down.
1-- BPDU filtering doesn’t stop the remote switch from sending you STP packets. It simply ignores them. They should get dropped/ignored. It’s the same idea as your front door. You cant prevent someone from knocking at the door. What you can do is choose to ignore it or not.
2-- As for devices dropping pings when they receive a BPDU, I haven’t seen that before. Are you sure these two events are related? On a port that has these host issues, you can disable STP for that port (not recommended) and see if it improves it. Maybe that port is not being considered a ‘edge port’ by the switch? Without further info its hard to know what you mean. You can also force these ports in ‘edge mode’ with “spantree cist port 1/1/1 admin-edge enable”. “show spantree cist ports” shows you which ports are acting as what.
3-- Lastly, even if you have BPDU filder on a port, that port will still send STP packets to the remote switch.
Regarding point 2, I wanted to mention that the device experiencing this issue is a Surveillance camera. Although I don’t fully understand why, this particular Surveillance camera seems to briefly drop pings and momentarily interrupt video whenever it receives BPDU packets.
For now, I have resolved the issue by using the command “spantree vlan 1 port 1/1/1 disable.”
However, my question is whether it is possible to prevent BPDU packets from being sent to the port connected to the Surveillance camera using the “qos user-port filter bpdu” command on the switch. Could this command be a solution to stop BPDU packets from reaching that port?
BPDU filter only affects incoming traffic.
To disable it from being sent on a port, you disable STP on that port, which you’ve already done!
I still find it very strange that STP makes a device lose packets (pings in this case) but give us an update in a few days of your findings.