Answer the question
In order to leave comments, you need to log in
How to rename interfaces in mikrotik using regexp?
Good afternoon. I'm interested in the following question.
I want to write a script to configure the default router group.
Also it is necessary to rename interfaces.
for example: list of interfaces ehter1, ether2,... rename to lan1, lan2...
RouterOS 7.1.3
I understand that through set but I can't implement it. Knowledge is not enough.
Answer the question
In order to leave comments, you need to log in
No need to rename interfaces. During the update, special effects will occur if the interface names do not match the expected ones.
Use comments to sign interfaces.
PS
You also don't need to edit the default IPsec policies, PPP profiles, Wi-Fi keys, and so on, you need to copy them and change them to suit your needs or create new ones from scratch, for the reasons described above.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question