我有一个专用于相机设备的 VLAN。我们了解到一些摄像头端口一直处于关闭状态,并且日志表明它是由 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
端口的配置应该完全防止STP影响端口的状态:
sw404(config)# show run int 7
Running configuration:
interface 7
untagged vlan 2
spanning-tree admin-edge-port
spanning-tree bpdu-filter
exit
即使添加了 BPDU 过滤器并将其设置为 admin-edge-port,我们仍然会收到错误消息。这些相机不支持 LLDP,我没有得到任何其他信息。如何阻止生成树抖动相机端口?