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.
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.
Check this wiki topic: http://wiki.mikrotik.com/wiki/Manual:CRS_examples
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.
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