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

Bjørn Tore bt at paulen.net
Thu Jul 2 16:51:06 EDT 2009


Malte von dem Hagen skrev:
> Hi,
>
> Matt Stevens schrieb:
>   
>> 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.
>>     
>
> yes, I definitely like to have a "interface range" as well.
>
>   
>> Both seem to only allow actions to be performed on a single port at a time.
>>     
>
> yes and no. You may define vlan membership of interfaces below the vlans stanza:
>
> Complete Software Guide for JUNOS® Software for EX-series Switches, Release 9.5
>
> vlans {
>   vlan-name {
>     ...
>     interface interface-name;
>     vlan-id number;
>   }
> }
>
> IMHO, it's bad style, though.
>
> rgds,
>
> .m
>   
Actually HP has a quite smooth approach there;

HP-switch# con
HP-switch(config)# vlan 11
HP-switch(vlan-11)# tag a5-a7,a18-b2


/BT


More information about the juniper-nsp mailing list