Community discussions

MikroTik App
 
planetcoop
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Thu May 15, 2014 2:32 pm
Location: Sacramento, CA

Set interface VLAN0 on new CCR2004 device

Sun Nov 07, 2021 8:43 pm

In the past i have set the interface vlan0 on a RB4011 with this command:
/interface ethernet switch port
set 0 default-vlan-id=0

Is there a way to do that on ROS 7 and the new CCR2004 devices?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Set interface VLAN0 on new CCR2004 device

Sun Nov 07, 2021 9:06 pm

That command is only possible on devices with switch chips which are exposed to comnands (i.e. not the CRS3xx line). CCR2004-16G-2S+ has two switch chips (but ROSv7 might not expose tgem via UI, I've no experirnce with new CCR2004 so I don't know) while CCR2004-1G-12S+2XS hasn't got any switch chip.

If I may ask: what exactly do you want to achieve by setting PVID to 0? 0 is not valid VLAN ID and such setting might mean that untagged frames should remain untagged ... but personally I don't see how that differs from having them tagged internally to device to any other VLAN ID such as VID=1 (which seems to be default).
 
planetcoop
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Thu May 15, 2014 2:32 pm
Location: Sacramento, CA

Re: Set interface VLAN0 on new CCR2004 device

Sun Nov 07, 2021 10:53 pm

That command is only possible on devices with switch chips which are exposed to comnands (i.e. not the CRS3xx line). CCR2004-16G-2S+ has two switch chips (but ROSv7 might not expose tgem via UI, I've no experirnce with new CCR2004 so I don't know) while CCR2004-1G-12S+2XS hasn't got any switch chip.

If I may ask: what exactly do you want to achieve by setting PVID to 0? 0 is not valid VLAN ID and such setting might mean that untagged frames should remain untagged ... but personally I don't see how that differs from having them tagged internally to device to any other VLAN ID such as VID=1 (which seems to be default).
ATT ONT and FTTH gateway replacement. :) ATT FTTH data is on vlan0 which the rb4011 can do and a few otherr devices, which i understand is not a normal operation, but required for them sadly. I do have this CCR2004-16G-2S+ and i do see the switch chips, but also worth noting that it is not the same GUI or CLI as the RB4011 with that capability. Also, the two SFP+ interfaces are not switch chip assigned and connect directly through to the CPU.

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], CHUPAPEE, ips, jason9456402 and 123 guests