export/import ROS configuration
Posted: Sun Apr 02, 2023 7:09 am
Greetins!
I am a newbie to MT and ROS so am learning the MT ecosystem. I have started my learning journey with an RB5009 with ROS 7.8. Since the default configuration of the RB5009 just works out of the box, I decided to use this as the basis for learning ROS by modifying it to meet the requirements of my LAN configuration. Reading the documentation, both MT and third-party, and also from this MT video, https://www.youtube.com/watch?v=jBC7mScNUjw, I concluded that I could export the router configuration with the export command, make incremental changes, then import the new configuration and see how much I broke. Alas, this does not seem to work as documented. When I import the configuration it immediately fails with a naming conflict. Running import in the verbose mode reveals that the script is failing on the first command which is defining the bridge.
It appears the imported script will simply not overwrite the existing configuration which does not make any sense given that is the purpose. No idea how to make this work, any help appreciated.
TIA!
I am a newbie to MT and ROS so am learning the MT ecosystem. I have started my learning journey with an RB5009 with ROS 7.8. Since the default configuration of the RB5009 just works out of the box, I decided to use this as the basis for learning ROS by modifying it to meet the requirements of my LAN configuration. Reading the documentation, both MT and third-party, and also from this MT video, https://www.youtube.com/watch?v=jBC7mScNUjw, I concluded that I could export the router configuration with the export command, make incremental changes, then import the new configuration and see how much I broke. Alas, this does not seem to work as documented. When I import the configuration it immediately fails with a naming conflict. Running import in the verbose mode reveals that the script is failing on the first command which is defining the bridge.
Code: Select all
[foobar@MikroTik] > /import file=MIKROTIK_CONFIG.rsc
failure: already have interface with such name
[foobar@MikroTik] > /import file=MIKROTIK_CONFIG.rsc verbose=yes
#line 6
/interface bridge add admin-mac=xx:xx:xx:xx:xx:xx auto-mac=no comment=defconf name=bridge
failure: already have interface with such name
TIA!