Nstreme: "find default-name=wlan1" Troubles

Hey Folks,

We often use the following command when scripting our configuration files:

“/interface wireless set [ find default-name=wlan1] disabled=no, etc, etc”

This works without any problems. We’re attempting to use a very similar command but within the nstreme subsection of interface-wireless:

“/interface wireless nstreme set [ find default-name=wlan1 ] enable-nstreme=yes”

This does not work however, it seems the “default-name” is not an option under this tag. We can substitute “[find default-name=wlan1]” to “[find name=wlan1]” and it works just fine. However, we’d like to be able to accommodate for the instance the radio name has been changed. Mind you, this is being imported which means we can’t use the method of “numbers=0.”

Anyone know how to accomplish what I’m seeking?

Thanks in advance for your time. Cheers!

You could use the mac-address as a reference or modify the comment and from there achieve what you want.

Thanks for your suggestion,
This script will be applied to multiple different case CPE’s. We’re looking for a universal solution that would apply in all contexts, regardless of name, comment or MAC. Any other suggestions?