Replace Vlan Tag on 750UP

We have a 750UP that receives tagged and untagged traffic on port 1.
The tagged traffic is VLAN50, we need to remove the VLAN50 tag and replace it with VLAN101 before the traffic passes out port 5.
I know that some switch chip rules allow this, but the 750 is not letting us use rules.
Any ideas ?

Thanks in advance !

Hi,

There are two ways to do that:

  1. The hard (but faster) way using RouterBOARD switch rules (http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features).
  2. The easy (but CPU time consuming) way using bridge interfaces.

But note that the interface ether1 of RB750UP is not connected to the switch. So if you want to do it the hard way (using switch rules), you will have to use ports from ether2 to ether5.

The easy way can be done like this (not tested, please tell me if it works) and works also with ether1 port:

/interface vlan
add interface=ether1 vlan-id=50 name=vlan50
add interface=ether5 vlan-id=101 name=vlan101

/interface bridge
add name=bridge1

/interface bridge port
add bridge=bridge1 interface=vlan50
add bridge=bridge1 interface=vlan101

seb4tik,

Thanks for your post. I’m testing the code you provided, and after reviewing it against the documentation, it makes more sense. As for the switch chip and rules, the 750 has the Atheros7240 chip in it, and according to the documentation via the link you provided, that chip doesn’t support a “rule table”.

We should still be in good shape, as this will be a relatively low traffic point, so bogging down the CPU should not be that big of a deal.

Thanks again !