Skip to content

Instantly share code, notes, and snippets.

@LelandSindt
Created August 12, 2016 12:56
Show Gist options
  • Save LelandSindt/f9594cdace533b472cb3641b56527cd7 to your computer and use it in GitHub Desktop.
Save LelandSindt/f9594cdace533b472cb3641b56527cd7 to your computer and use it in GitHub Desktop.
/interface bridge
add name=br-vlan2 protocol-mode=none
/interface ethernet switch port
set 1 default-vlan-id=2 vlan-header=add-if-missing
set 2 default-vlan-id=2
set 3 default-vlan-id=2
set 4 default-vlan-id=2
/interface bridge filter
add action=set-priority chain=forward new-priority=3 passthrough=yes
/interface bridge port
add bridge=br-vlan2 interface=ether2
add bridge=br-vlan2 interface=ether3
add bridge=br-vlan2 interface=ether4
add bridge=br-vlan2 interface=ether5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment