[j-nsp] how to get maximum interface unit value in JUNOS script

Masood Ahmad Shah masoodnt10 at gmail.com
Sat Jun 25 20:21:56 EDT 2016

The maximum value is 4096 (0-4095), when you create more than 4095 logical
units with VLAN encapsulation, the message "limit of 4096 vlans/dlcis

Here is Juniper reference:

P.S: It may varies hardware to hardware but I would go with 4096

On Sat, Jun 25, 2016 at 1:02 PM, Chen Jiang <ilovebgp4 at gmail.com> wrote:

> Hi! Experts
> Sorry for disturbing, I want to use JUNOS OP script to auto-generate new
> interface configuration, but I don't know how to get maximum interface unit
> value in current configuration, do you have solved this before and could
> share a example?
> Thanks for your great help!
> --
> BR!
>            James Chen
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp

More information about the juniper-nsp mailing list