I configured a CRS with quick setup. I gave it static IP and gateway.
When I do “/ip route print” it shows correctly.
The route has “As” flags (active, static).
But when I do a “/ip route export” it does NOT show!
Is this a bug?
I configured a CRS with quick setup. I gave it static IP and gateway.
When I do “/ip route print” it shows correctly.
The route has “As” flags (active, static).
But when I do a “/ip route export” it does NOT show!
Is this a bug?
Static routes have “AS” flag. I don’t know what the s flag is for.
What RouterOS version do you have?
I have no idea why…but in V7 at least, “As” is what is shown at CLI… while winbox using “AS”.
/ip route print
Flags: D - DYNAMIC; I - INACTIVE, A - ACTIVE; c - CONNECT, s - STATIC, d - DHCP, v - VPN; H - HW-OFFLOADED
Aha I see. In v6 it was S in cli as well, and in v7 it is s in cli but S in winbox.
Stupid, I would say…
Again, what RouterOS version do you have?
The other question is does a full export (e.g. just :export) show the routes?
Full export did not show either.
Originally noticed with version 7.7, then upgraded to 7.11.2 and still happens.
I just set up a CHR 7.11.2, run quick set, and could reproduce.
I’d create a supout.rif from both those system, and file a bug report at help.mikrotik.com. I cannot think of a reason why static route (“As”/“AS”) would not be in the export. If there was “d”/“D” in there, well, that’s a different story – those would not be in export…
In my router running v7.12rc it certainly is present in the export. And it was before as well.
I agree it seems to work in a couple systems I checked. But it might be platform-specific bug or timing, IDK…
I just saw https://forum.mikrotik.com/viewtopic.php?t=198641&start=300#p1032317 while not directly related to “export”, routes not appearing in dude does lends some credibility of a potential issue, at least in some cases…
One thing to try is delete and re-add the QuickSet generated routes, and/or change the commends…and see if it exports. While AFAIK QuickSet just write config same as anything else, perhaps not.