olegon
April 22, 2022, 6:05pm
1
I wrote while setup
set gw vpn; accept
and see it in Winbox now, but export show-sensitive shows
# apr/22/2022 20:59:34 by RouterOS 7.2.1
# software id = *****
#
# model = RouterBOARD 3011UiAS
/routing filter rule
add chain=bgp_in disabled=no rule="set gw *13; accept"
what is this? why “*13”, not “vpn”?
is the internal interface ID
olegon
April 22, 2022, 7:19pm
3
Thank you, yes, this is internal id of interface, but question is why it translate name to id in export? How to restrict this manner?
I using export for backup in case of hardware lost, but with this translations I can’t apply script to another router and can’t understand it
sindy
April 22, 2022, 7:32pm
4
It’s a bug, open a support ticket. I have just tested it, and not only that the export shows the internal interface id, but it even shows a wrong one. Try /interface/print where .id=*13 - in my case, it looks as follows:
_[me@chr-7-1] > routing/filter/rule/print
Flags: X - disabled, I - inactive
0 chain=test rule=“set gw huhu ; accept”
1 chain=test rule=“set gw eoip1 ; accept”
[me@chr-7-1] > routing/filter/rule/export
apr/22/2022 21:28:34 by RouterOS 7.2.1
software id =
/routing filter rule
add chain=test disabled=no rule=“set gw *13 ; accept”
add chain=test disabled=no rule=“set gw *9 ; accept”
[me@chr-7-1] > interface/print where .id=*13
Flags: R - RUNNING; S - SLAVE
Columns: NAME, TYPE, ACTUAL-MTU, MAC-ADDRESS
NAME TYPE ACTUAL-MTU MAC-ADDRESS
18 RS vxlan1 vxlan 1300 76:B2:F6:54:DC:DC
[me@chr-7-1] > interface/print where .id=*9
Flags: R - RUNNING
Columns: NAME, TYPE, ACTUAL-MTU, L2MTU, MAC-ADDRESS
NAME TYPE ACTUAL-MTU L2MTU MAC-ADDRESS
7 R eoip1 eoip 1458 65535 FE:85:29:E2:03:AF_
I think is already solved, please wait new 7.3
What’s new in 7.3beta34 (2022-Apr-20 08:23):
[…]
*) export - fixed value ID exporting that does not refer to any name
[…]
olegon
April 22, 2022, 7:53pm
6
Thank you, I already opened support ticket with link to this thread
SUP-80467
waiting…