quick bulk configs on mikrotik switches

Hi All,

As I wait with baited breath for the VRF aware DNS for my mgt interfaces and GVRP due in ROS 7.15 I have a problem that I hope you all can help me with.

My scripting skills are not very strong, and what I want to do is bulk apply settings to a range of interfaces. For example, I want to set BPDU-Guard on ports ether1 to ether 40 inclusive. Or I might want to tag a range of interfaces with a vlan.

My problem is that I cannot figure out how to do it. I can only do something like:

 /interface/bridge/vlan set vlan-ids=901 tagged=ether1,ether2,ether3,ether4

Typing each and every interface name is a pain (yes I do keep some commands prepared so I can copy paste, but this is daft).

I would like to do something like /interface/bridge/vlan> set vlan-ids=901 tagged=ether1::ether40

Is there any way to do this?

Many thanks.

Alex

PS, I cant select a range of IPs in the GUI right click and set bpdu-guard either, infact I dont think this could ever be possible in GUI, but CLI is fine if I can learn it.