[j-nsp] Add vlan to multiple interfaces on EX series

Charles Sprickman spork at bway.net
Thu Jul 2 22:10:39 EDT 2009


On Thu, 2 Jul 2009, Cord MacLeod wrote:

> Park yourself in edit vlans vlan xxx
>
> The run this on your local Linux machine:
>
> for i in `seq 0 23`; do echo set interface ge-0/0/$i; done

Or on another unix without "seq", you may find "jot":

jot -w "set interface ge-0/0/" 23 0

-data in quotes is text to echo
-first number is the count
-second number is starting number

Charles

> That's the way I mass edit.
>
>
> On Jul 2, 2009, at 6:18 PM, Matt Stevens wrote:
>
>> Sigh...from everyone's answers it appears the short answer to this question
>> is no.
>> 
>> I guess I'll take this up with my account team.
>> 
>> Thanks everyone!
>> -- 
>> matt
>> 
>> 
>> On 7/2/09 12:25 PM, "Matt Stevens" <matt at elevate.org> wrote:
>> 
>>> Is there an easy way to add a new VLAN to multiple interfaces on the EX
>>> series switches? I'd like to be able to use a port range for both adding
>>> vlans to trunk ports and putting access ports into a specific vlan.
>>> 
>>> Both seem to only allow actions to be performed on a single port at a 
>>> time.
>> 
>> 
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
> _______________________________________________
> 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