Fri Apr 22, 2022 10:32 pm
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