RB951
2 port tag vlan 71,77,428
3 port untag 428
4 port untag 71
5 port untag 77
vlan 77 — managment
/interface ethernet switch vlan add ports=ether2,ether3 switch=switch1 vlan-id=428 add ports=ether2,ether5,switch1-cpu switch=switch1 vlan-id=77 add ports=ether2,ether4 switch=switch1 vlan-id=71 /interface ethernet switch port set 1 vlan-header=add-if-missing vlan-mode=secure set 2 default-vlan-id=428 vlan-header=always-strip vlan-mode=secure set 3 default-vlan-id=71 vlan-header=always-strip vlan-mode=secure set 4 default-vlan-id=77 vlan-header=always-strip vlan-mode=secure set 5 default-vlan-id=77 vlan-mode=secure /interface bridge add comment=defconf name=bridgeLocal /interface vlan add interface=bridgeLocal name=vlan77 vlan-id=77 /ip address add address=172.16.12.10/16 interface=vlan77 network=172.16.0.0 /interface bridge port add bridge=bridgeLocal comment=defconf interface=ether1 add bridge=bridgeLocal comment=defconf interface=ether2 add bridge=bridgeLocal comment=defconf interface=ether3 add bridge=bridgeLocal comment=defconf interface=ether4 add bridge=bridgeLocal comment=defconf interface=ether5 |
RB951 4ports (hap. hap lite …)
1 port tag vlan 71,77,426
2 port untag 426
3 port untag 71
4 port untag 77
vlan 77 — managment
/interface bridge add comment=defconf name=bridgeLocal /interface vlan add interface=bridgeLocal name=vlan77 vlan-id=77 /interface ethernet switch port set 0 vlan-header=add-if-missing vlan-mode=secure set 1 default-vlan-id=426 vlan-header=always-strip vlan-mode=secure set 2 default-vlan-id=71 vlan-header=always-strip vlan-mode=secure set 3 default-vlan-id=77 vlan-header=always-strip vlan-mode=secure set 5 default-vlan-id=77 vlan-mode=secure /interface bridge port add bridge=bridgeLocal comment=defconf interface=ether1 add bridge=bridgeLocal comment=defconf interface=ether2 add bridge=bridgeLocal comment=defconf interface=ether3 add bridge=bridgeLocal comment=defconf interface=ether4 /interface ethernet switch vlan add ports=ether1,ether2 switch=switch1 vlan-id=426 add ports=ether1,ether3 switch=switch1 vlan-id=71 add ports=ether1,ether4,switch1-cpu switch=switch1 vlan-id=77 /ip address add address=172.16.12.8/16 interface=vlan77 network=172.16.0.0 |
RB750 5ports (RB750UP)
2 port tag vlan 71,77,426
3 port untag 426
4 port untag 71
5 port untag 77
vlan 77 — managment
/interface bridge add comment=defconf name=bridgeLocal /interface vlan add interface=bridgeLocal name=vlan77 vlan-id=77 /interface ethernet switch port set 0 vlan-header=add-if-missing vlan-mode=secure set 1 default-vlan-id=428 vlan-header=always-strip vlan-mode=secure set 2 default-vlan-id=71 vlan-header=always-strip vlan-mode=secure set 3 default-vlan-id=77 vlan-header=always-strip vlan-mode=secure set 4 default-vlan-id=77 vlan-mode=secure /interface bridge port add bridge=bridgeLocal comment=defconf interface=ether2 add bridge=bridgeLocal comment=defconf interface=ether3 add bridge=bridgeLocal comment=defconf interface=ether4 add bridge=bridgeLocal comment=defconf interface=ether5 /interface ethernet switch vlan add ports=ether2,ether3 switch=switch1 vlan-id=428 add ports=ether2,ether4 switch=switch1 vlan-id=71 add ports=ether2,ether5,switch1-cpu switch=switch1 vlan-id=77 /ip address add address=172.16.12.10/16 interface=bridgeLocal network=172.16.0.0 |