You mentioned v6, on v7 it works differently, it's this way by design. I don't know how is :set command implemented inside ros v6 and v7, in fact probably only few people know that. But it does'n matter - it should assign value of second parameter to first one. In manual there is exactly written: &...
Still not change that is work exactly as expected, what is your problem? totally wrong result of script right result should be a=2;b=1;c=1 a=1;b=2;c=1 a=1;b=1;c=2 Just found that in ros v7.3.1 it works correctly (and if set is with : doesn't matter to): :foreach i in={"a";"b";&q...
Yes that is typo in command, but it works exactly same way with and without : - in both cases parser not complain about syntax error and behavior is exactly same.
Hello I have problem with reusing associative array initializer in loop - first pass works OK, but next passes initialization not working. It is also reproducible in terminal console: :foreach i in={"a";"b";"c"} do={:local x [:toarray ""]; :set x {"a"...
Hello I am importing script from another script. Import itself working but I woul like to add some error handling. So I tried: :do { /import file-name="somescript.rsc" } on-error={ :log warning "script failed" } But this way it work only when import command failed itself (importe...
Hello, I upgrade CRS125 from 6.41.3 to 6.42.6 and found excesive packet lost on fasttracked connections (I use CRS to do NAT between two logical networks/IP ranges). When I disable fasttrack connection rule in forward chain of IP firewall then everything works, when I enable it drops packets (and no...
Mickey: Maybe this is because RB3011 and RB2011 have different internal connection between CPU and switches (RB3011 have two links to each switch and RB2011 only one to each). I don't find any configuration of switch that works, so I have to bridge access ports to VLANs in CPU instead of switch (to ...
Hello, in test setup all devices other than computer was mikrotiks (HAPac lite) with 6.40rc19 or rc21, spanning tree is disabled everywhere on bridges (but I check it again for sure). Changing brg_mngmt MAC to generated one was first thing that I tried - but without success (it only changed which de...
Hello, it is not my intent to do in my own strage way, but understand what I am doing, so I expected no only "do it this way" but also why it should be done this way/what happend inside switch chipset. I think that networking isn't "black magic", or at least shouldn't be - networ...
Access port (ether 5) have such setting: set 4 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure If I understand principe of settings for tagging inside switch it is necessary to explicitly add tags to packet which came from access port to trunk port So for trunk and CPU port I need to s...
Hello i have problems with packet tagging on RB3011. I configured VLANs on both switch chips a set switch1-cpu and switch2-cpu port to secure mode and header add if missing. Then I instantiate VLAN 200 interfaces on both master ports and bridget it together. In this configuration I observe significa...