I have a VLAN dedicated for camera devices. We have learned that some camera ports keep going into the down state, and the logging indicates it is caused by STP:
sw404(config)# show logging -r 7
Keys: W=Warning I=Information
M=Major D=Debug E=Error
---- Reverse event Log listing: Events Since Boot ----
I 11/06/19 07:45:02 00076 ports: port 7 is now on-line
I 11/06/19 07:45:02 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:45:00 00077 ports: port 7 is now off-line
I 11/06/19 07:44:47 00076 ports: port 7 is now on-line
I 11/06/19 07:44:47 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:44:44 00077 ports: port 7 is now off-line
I 11/06/19 07:42:54 00076 ports: port 7 is now on-line
I 11/06/19 07:42:54 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:42:54 00077 ports: port 7 is now off-line
I 11/06/19 07:42:53 00076 ports: port 7 is now on-line
I 11/06/19 07:42:53 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:42:51 00077 ports: port 7 is now off-line
I 11/06/19 07:42:38 00076 ports: port 7 is now on-line
I 11/06/19 07:42:38 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:42:35 00077 ports: port 7 is now off-line
I 11/06/19 07:40:49 00076 ports: port 7 is now on-line
I 11/06/19 07:40:49 00435 ports: port 7 is Blocked by STP
I 11/06/19 07:40:47 00077 ports: port 7 is now off-line
I 11/06/19 07:40:33 00076 ports: port 7 is now on-line
I 11/06/19 07:40:33 00435 ports: port 7 is Blocked by STP
The configuration of the port should completely prevent STP from affecting the status of the port:
sw404(config)# show run int 7
Running configuration:
interface 7
untagged vlan 2
spanning-tree admin-edge-port
spanning-tree bpdu-filter
exit
Even after adding the BPDU filter and setting it for admin-edge-port, we still get errors. The cameras are not LLDP-capable and I do not get any additional information. How can I stop spanning tree from flapping the camera port(s)?