I was wondering if anyone could answer me the following.
Take a command that populates a local variable "link1interfacestatus" with the current status of a pppoe-client interface with a name of "bob".
:set link1interfacestatus [/interface pppoe-client get [/interface pppoe-client find name="bob"] running];
is there anyway to pass into this call a variable instead of having to hard code the term "pppoe-client"?
:local <variable> "pppoe-client";
:set link1interfacestatus [/interface <variable> get [/interface <variable>find name="bob"] running];
Nothing I do seems to be able to do this?