| 用途 | 过滤生成树协议报文 |
|---|---|
| 语法 | ether dst 01:80:c2:00:00:00 [and ...] |
常用示例
常用示例
tcpdump -i eth0 -nn -e 'ether dst 01:80:c2:00:00:00' -c 20
tcpdump -i eth0 -nn -e 'ether dst 01:80:c2:00:00:00 and ether[14:2] = 0x0000' # RSTP 版本BPDU 每 2 秒左右由根桥发出(Hello Time 默认 2s);完全收不到说明该口被 BPDU Filter/Filtering 或未参与生成树。