[j-nsp] Could JUNOS script accept 2 variable to generate a filter name

Chen Jiang ilovebgp4 at gmail.com
Sat Jan 2 23:56:00 EST 2016


Hi! Phil, Diogo

Thanks for your detailed explanation and yes, it works as you described.

BR!

Chen Jiang

On Wed, Dec 30, 2015 at 1:15 AM, Phil Shafer <phil at juniper.net> wrote:

> Diogo Montagner writes:
> >Try this:
> > _ $users _ $meter;
>
> Yes, "_" is a valid character to have in a variable name, so
> you must have spaces around it.  And it's a good idea for
> readability anyway.
>
> You can use "slaxproc --format" to format slax scripts into standard
> style (read: what Phil likes), which uses lots of spaces.
>
> Thanks,
>  Phil
>



-- 
BR!



           James Chen


More information about the juniper-nsp mailing list