11/11/2022 0 Comments Mikrotik switches![]() ![]() ![]() Set switch1-cpu vlan-header=leave-as-is vlan-mode=secure Set ether3 vlan-mode=secure vlan-header=always-strip default-vlan-id=30 Set ether2 vlan-mode=secure vlan-header=always-strip default-vlan-id=20 Set ether1 vlan-mode=secure vlan-header=add-if-missing ![]() You can check the device's switch chip either in the provided link or by using /interface ethernet switch printĪdd ports=ether1,ether2 switch=switch1 vlan-id=20Īdd ports=ether1,ether3 switch=switch1 vlan-id=30Īdd ports=ether1,switch1-cpu switch=switch1 vlan-id=99 If a device has VLAN table support, then it is capable of VLAN switching using the built-in switch chip. Warning: Not all devices with a switch chip are capable of VLAN switching on a hardware level, check the supported features for each switch chip, the compatibility table can be found Here. Set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,ether3 interface ethernet switch egress-vlan-tagĪdd tagged-ports=ether1,switch1-cpu vlan-id=99Īdd ports=ether1,ether2 vlan-id=20 learn=yesĪdd ports=ether1,ether3 vlan-id=30 learn=yesĪdd ports=ether1,switch1-cpu vlan-id=99 learn=yes interface ethernet switch ingress-vlan-translationĪdd ports=ether2 customer-vid=0 new-customer-vid=20 sa-learning=yesĪdd ports=ether3 customer-vid=0 new-customer-vid=30 sa-learning=yes More detailed examples can be found here.ĬRS1xx/CRS2xx series switches /interface bridgeĪdd bridge=bridge1 interface=ether2 hw=yesĪdd bridge=bridge1 interface=ether3 hw=yes Basic VLAN switching CRS3xx series switches /interface bridgeĪdd bridge=bridge1 interface=ether1 hw=yesĪdd bridge=bridge1 interface=ether2 hw=yes pvid=20Īdd bridge=bridge1 interface=ether3 hw=yes pvid=30Īdd bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=20Īdd bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=30Īdd bridge=bridge1 tagged=ether1,bridge1 vlan-ids=99Īdd interface=bridge1 vlan-id=99 name=MGMTĪdd address=192.168.99.1/24 interface=MGMT ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |