[SOLVED] Two trunk port whit pass all: ROS o SwOS?

Hi all!
I need to configure two port in trunk mode and enable like “allow passa all vlan” or "allow pass vlan [range] ".

Which is the best solution (easily) to use a device with ROS or with SwOS?

Tnx in advance :slight_smile:

You do not provide many details…
If you will use the Mikrotik only for switching, VLANs etc then you can go with swOS …
Byt if you need routing capabilities as well then you must choose ROS…

I need simply to configure two port: one in “input” and one in “output” and allow pass ALL tagged traffic.
In Cisco or Huawei switch it’s very easily, via CLI: declare VLAN range and use a command like “allow pass all vlan” or "allow pass vlan [range] ".
This seems strange, but I need this scenario to monitoring the link.

This can be Done either with ROS or swOS…

Can you help me whit an example?

  1. declare a range VLAN
  2. allow pass all VLANs

No scripting.

I can help you with a very nice article http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

Perfect! From ROS 6.41, it’s implement VLANs filtering.
(https://wiki.mikrotik.com/wiki/Manual:Interface/Bridge#Bridge_VLAN_Filtering)

Based on examples:

#######################################
#
# -- Trunk Ports --
#
#######################################

# ingress behavior
/interface bridge port

# Purple Trunk. Leave pvid set to default of 1
add bridge=BR1 interface=sfp1
add bridge=BR1 interface=sfp2

# egress behavior
/interface bridge vlan

# Purple Trunk. L2 switching only, Bridge not needed as tagged member (except BASE_VLAN)
set bridge=BR1 tagged=sfp1,sfp2 [find vlan-ids=10]
set bridge=BR1 tagged=sfp1,sfp2 [find vlan-ids=20]
set bridge=BR1 tagged=sfp1,sfp2 [find vlan-ids=30]
add bridge=BR1 tagged=BR1,sfp1,sfp2 vlan-ids=99

Tnx! :wink:

You can mark the post as solved…