Advertisement
Railanderz

MikroTik L3HW re-enable MAC-based features

Jun 24th, 2023
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | Software | 0 0
  1. :foreach i in=[/interface/ethernet/find where switch=switch1] do={/interface/ethernet/switch/rule/add comment="MAC-Ping + MAC-Telnet + MAC-Winbox" copy-to-cpu=yes dst-address=255.255.255.255/32 dst-port=20561 protocol=udp src-address=0.0.0.0/32 src-port=20561 switch=switch1 ports=[/interface/ethernet/get $i name] disabled=yes}
Tags: mikrotik
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement