Community discussions

MikroTik App
 
jonathan2493
newbie
Topic Author
Posts: 25
Joined: Fri Feb 13, 2015 4:25 am

mikrotik vlan creation question

Thu Aug 27, 2015 1:04 pm

hi,


my goal is to create a vlan and assign it to a bridge interface.

Is there any difference between this method
interface bridge add name=bridge-trunk protocol-mode=rstp
interface bridge port add interface=ether5 bridge=bridge-trunk
interface vlan add name=vlan-100 interface=bridge-trunk vlan-id=100
 interface vlan add name=vlan-200 interface=bridge-trunk vlan-id=200
and this

/interface ethernet switch egress-vlan-tag add \
tagged-ports=ether20 vlan-id=100
/interface ethernet switch egress-vlan-tag add \
tagged-ports=ether20 vlan-id=200

/interface ethernet switch ingress-vlan-translation \
add ports=ether20 customer-vid=0 new-customer-vid=200 sa-learning=yes
 
rjscomms
Member Candidate
Member Candidate
Posts: 132
Joined: Fri Jan 28, 2011 12:22 pm

Re: mikrotik vlan creation question

Fri Aug 28, 2015 5:39 am

Hello,

I am no expert here but I believe that creating a bridge and using ports will use the CPU.

Using your second method means using the switch chip which should be faster as it does not use the CPU.

This is described somewhere on the wiki.

Regards, Dave.

Who is online

Users browsing this forum: Bing [Bot], fenix24865, ysha and 41 guests