[ietf86-tech] Juniper Hotel VLAN solution...

Warren Kumari warren at kumari.net
Fri Feb 22 10:02:13 PST 2013


On Feb 22, 2013, at 12:43 PM, "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net> wrote:

> On Fri, 22 Feb 2013, Warren Kumari wrote:
> 
>>   ge-1/1/1 {
>>       vlan-tagging;
>>       encapsulation flexible-ethernet-services;
>>       unit 1 {
>>           encapsulation vlan-bridge;
>>           vlan-id 1;
>>       }
>>       unit 100 {
>>           encapsulation vlan-bridge;
>>           vlan-id 100;
>>       }
>>       unit 200 {
>>           encapsulation vlan-bridge;
>>           vlan-id 200;
>>       }
>>       unit 300 {
>>           encapsulation vlan-bridge;
>>           vlan-id 300;
>>       }
>>   }
> 
> Do they have a short-cut for this or will we need to create a 1000ish
> of these entries?

start shell; for a in `seq 2 1000`; do echo -e "unit $a {\nenc vlan-br;\nvlan-id $a;\n}"; done

:-P

W

(nope, unfortunately no shortcut…)


> 
> /bz
> 
> -- 
> Bjoern A. Zeeb                                  Charles Haddon Spurgeon:
> "Friendship is one of the sweetest joys of life.  Many might have failed
>  beneath the bitterness of their trial  had they not found a friend."
> 

--
The duke had a mind that ticked like a clock and, like a clock, it regularly went cuckoo.

    -- (Terry Pratchett, Wyrd Sisters)




More information about the ietf86-tech mailing list