Community discussions

MikroTik App
 
brixo
newbie
Topic Author
Posts: 28
Joined: Mon Oct 23, 2017 9:45 pm

CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 1:35 pm

Running a CRS317-1G-16S+ just doing simple L2 VLAN trunking.

Having issues with adding VLANs to interfaces (only trunks). I cannot add new VLANs to interfaces. The only way I managed to get the first lot (101-504) working was to cut/paste the config in the "stable" version, then change to the RC. The configs seem to stick.

/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus2,sfp-sfpplus5 switch=switch1 vlan-id=101
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus2,sfp-sfpplus6 switch=switch1 vlan-id=102
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus2,sfp-sfpplus7 switch=switch1 vlan-id=103
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus2,sfp-sfpplus8 switch=switch1 vlan-id=104
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus1,sfp-sfpplus5 switch=switch1 vlan-id=501
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus1,sfp-sfpplus6 switch=switch1 vlan-id=502
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus1,sfp-sfpplus7 switch=switch1 vlan-id=503
/interface ethernet switch vlan add disabled=no ports=sfp-sfpplus1,sfp-sfpplus8 switch=switch1 vlan-id=504

However, I cannot add any new VLANs to interfaces whilst booted into the ROS RC.

[admin@dx02-sw01] /interface ethernet switch vlan> add ports=sfp-sfpplus1,sfp-sfpplus16 switch=switch1 vlan-id=778 disabled=no
failure: not supported for this switch

This is quite a worry that it will not accept the same config syntax/command - this is going to be going into a production environment - slowly losing faith in anything L2 on these devices!!

Any pointers?

Thanks.
 
 
brixo
newbie
Topic Author
Posts: 28
Joined: Mon Oct 23, 2017 9:45 pm

Re: CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 2:47 pm

Thanks for the reply. I have read those particular documents several times which has helped me get this far with L2 on the CRS317. However, there is nothing that jumps out at me that says that I would not be able to add a new VLAN to specific ports on the RC.

Is there something in particular you can see that I am missing? The command is (or should be) a fairly simple one to add a new vlan and add them to interfaces for trunking...
 
drbunsen
newbie
Posts: 40
Joined: Fri Apr 29, 2016 7:24 pm

Re: CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 3:35 pm

Sorry for being so brief. Just did this recently and still had the tabs open in the browser. Indeed the new vlan config seems to be missing or hiding well ;) Maybe I found this by trial and error.
However, the vlans need to be configured on the bridge since the rc version.
I have this in my lab setup and it works (just the relevant parts of it):
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface bridge port
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus15
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus16
/interface bridge vlan
add bridge=bridge1 comment=Default tagged=sfp-sfpplus15,sfp-sfpplus16 \
    untagged=bridge1,ether1-master,sfp-sfpplus1,sfp-sfpplus2 vlan-ids=1
 
brixo
newbie
Topic Author
Posts: 28
Joined: Mon Oct 23, 2017 9:45 pm

Re: CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 3:39 pm

Aha. Thanks very much. I shall give this a go after backing everything up and reverting to ROS. ROS seems very powerful for L3, but complex (too complex for simple tasks) for L2. Saying that, I am only comparing to many years of Cisco where the configuration takes care of a lot under the hood!

Will update once tested.
 
brixo
newbie
Topic Author
Posts: 28
Joined: Mon Oct 23, 2017 9:45 pm

Re: CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 3:45 pm

Aha. Thanks very much. I shall give this a go after backing everything up and reverting to ROS. ROS seems very powerful for L3, but complex (too complex for simple tasks) for L2. Saying that, I am only comparing to many years of Cisco where the configuration takes care of a lot under the hood!

Will update once tested.
 
brixo
newbie
Topic Author
Posts: 28
Joined: Mon Oct 23, 2017 9:45 pm

Re: CRS317-1G-16S+ v6.41rc56 - adding vlan switch issue

Tue Dec 05, 2017 4:28 pm

Well, that seems to have worked. More importantly, the interfaces are using HW-OFFLOAD which was the reason for me moving to the RC.

Still, I am confused about similar (if not same) configurations in both SWITCH and BRIDGE with regards to VLAN and PORTS/INTERFACES.

Surely I am not the only one confused by this??!

Again, thanks very much for the pointer!