Page 1 of 1

CRS second vlan not work

Posted: Thu Nov 27, 2014 6:27 pm
by VagnerBecker
hey guys,

I'm trying to raise two VLANs by CRS125 without success, or rather one works (id = 230) but the second does not. The configuration is as follows. IN port 17 enters the link with the two VLANs (230 and 240) on port 23 out of the vlan id = 230 untagged and on port 24 (should) vlan = 240 untagged

/interface ethernet
set [ find default-name=ether17 ]
set [ find default-name=ether23 ] master-port=ether17
set [ find default-name=ether24 ] master-port=ether17

/interface ethernet switch egress-vlan-tag
add tagged-ports=ether17 vlan-id=230
add tagged-ports=ether17 vlan-id=240

/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=230 ports=ether23 sa-learning=yes
add customer-vid=0 new-customer-vid=240 ports=ether24 sa-learning=yes

/interface ethernet switch vlan
add ports=ether17,ether23 vlan-id=230
add ports=ether17,ether24 vlan-id=240

I'm forgetting something?

Regards,

Vagner Felipe Becker

Re: CRS second vlan not work

Posted: Sun Nov 30, 2014 5:44 am
by VagnerBecker
50 hits and no one knows ?! I'm intrigued than any other mk product works normally, a simple vlan causing so much headache. I am seriously considering returning the product and put a cisco in place.

Re: CRS second vlan not work

Posted: Fri Dec 12, 2014 6:39 pm
by tirkitneth
If you use wireshark to see what packets look like on ether23, you should see packets tagged with vlan id 230. On ether24 you should see packets with vlan id 240.

You want to change the vlan id of packets going out of ether23 and ether24 so you need to add egress-vlan-translation rules.
/interface ethernet switch egress-vlan-translation
add customer-vid=230 new-customer-vid=0 ports=ether23
add customer-vid=240 new-customer-vid=0 ports=ether24