Community discussions

MikroTik App
 
Zuda
just joined
Topic Author
Posts: 1
Joined: Tue May 13, 2014 10:26 am

VLAN TAG UNTAG ON CLOUD SWITCH

Tue May 13, 2014 10:47 am

Please anyone can help me for this configuration on new cloud switch: for example I have to pass in port 1 5 VLAN(ID 100-200-310-400-520), I want to untag the vlan 200 on port 3 and on port 5 trunk only tha vlan id 310 and 400.

Thanks.
 
ppwicho
newbie
Posts: 32
Joined: Fri Nov 23, 2012 11:45 pm

Re: VLAN TAG UNTAG ON CLOUD SWITCH

Tue Jun 03, 2014 1:52 am

 
lordzar
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Sat May 29, 2004 7:47 pm

Re: VLAN TAG UNTAG ON CLOUD SWITCH

Tue Jun 03, 2014 5:37 am

Everyone refers to that wiki article... But I'm guessing its people that haven't tried the examples. They don't work the way you would expect them to work.
 
becs
MikroTik Support
MikroTik Support
Posts: 499
Joined: Thu Jul 07, 2011 8:26 am

Re: VLAN TAG UNTAG ON CLOUD SWITCH

Tue Jun 03, 2014 9:11 am

Zuda,
The description does not mention what happens with VLAN100 and VLAN520 on other ports.
Other than that the following VLAN configuration works according to description.
# VLAN200 untagging on ether3 (PVID configuration for untagged port)

/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=200 ports=ether3 sa-learning=yes

# VLAN tagging on ether1 and ether5

/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1 vlan-id=100
add tagged-ports=ether1 vlan-id=200
add tagged-ports=ether1,ether5 vlan-id=310
add tagged-ports=ether1,ether5 vlan-id=400
add tagged-ports=ether1 vlan-id=520

# VLAN membership definition in VLAN table

/interface ethernet switch vlan
add ports=ether1 vlan-id=100
add ports=ether1,ether3 vlan-id=200
add ports=ether1,ether5 vlan-id=310
add ports=ether1,ether5 vlan-id=400
add ports=ether1 vlan-id=520

# Unknown VLAN blocking on specific ports

/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether3,ether5

# OR!

# Unknown VLAN blocking globally on all ports

/interface ethernet switch
set forward-unknown-vlan=no

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], GoogleOther [Bot], grusu, Philippe57, rb9999 and 118 guests