Filter Out CDP packets with switch rule

I was wondering if someone could help me write a switch rule to stop passing CDP packets.. In this post of mine.

http://forum.mikrotik.com/t/crs3xx-and-cisco-links/165363/1

I have an issue with native vlan mismatch error happening with switches not directly connected to each other but both connected to the same Mikrotik switch. I posted the issue on reddit and someone responded with this..

“As far as I know, “native vlan mismatch” messages are from CDP (Cisco Discovery Protocol) packets. CDP expects each switch to receive the packet, not forward them.
A switch that doesn’t filter out CDP packets will just forward them.
If everything else is working, just turn off CDP with “no cdp run” on the Cisco switches and the messages should go away.”

Now ive been able to use other rules to help with Cisco type packets that are proprietary, that are just forwarded through the Mikrotik.

/interface ethernet switch rule
add disabled=yes dst-mac-address=01:00:0C:CC:CC:CD/FF:FF:FF:FF:FF:FF new-dst-ports=“” ports=ether1 switch=switch1

Im looking for something similar to stop forwarding the cdp packets past the mikrotik switches..

Tried this..


add comment=CDP-Rule dst-mac-address=01:00:0C:CC:CC:CC/FF:FF:FF:FF:FF:FF new-dst-ports=“” ports=combo1,combo2,combo3,combo4,sfp1,sfp2,sfp3,sfp4,sfp5,sfp6,sfp7,sfp8,sfp9,sfp10,sfp11,sfp12,sfp13,sfp14,sfp15,sfp16,sfp17,sfp18,sfp19,sfp20 switch=switch1