Junos
Reply
Visitor
bchemin76
Posts: 2
Registered: ‎11-02-2011
0
Accepted Solution

MX-240 (11.1R1.14) : lan encapsulation and VLAN trunking

Hello,

 

I'm working on an MX-240 with the JunOS version 11.1R1.14, and I have two questions regarding lan encapsulation and vlan trunking.

 

Question n°1 : What is the difference between this two configurations ?

 

ge-2/1/1 {
 vlan-tagging;
 encapsulation flexible-ethernet-services;
 unit 195 {
       encapsulation vlan-bridge;
       vlan-id 195;
        }

 

and

 

ge-2/1/1 {
         unit 0 {
           family bridge {
           interface-mode trunk;
           vlan-id-list [ 195 ];
            }
       }

 

-> for me, this two configs do the same things : the interface ge-2/1/1 permits VLAN 195 and tags the ethernet frames belonging to VLAN 195 with the VLAN ID 195.
-> so in what technical context, I will implement the first config or the second config ?
-> what is the diffrence between "family bridge" and the "vlan-tagging"+"encapsulation flexible-ethernet-services"+"encapsulation vlan-bridge" trio ?

 

I've never find clear answer to this question on the Juniper docs neither on Google.


Question n°2 : For a real interface (like ge-2/1/1 in my previous example), the encapsulation is not mandatory when I use "family bridge" so WHY I must implement for an aggregation interface encapsulation parameters ("vlan-tagging" + "encapsulation flexible-ethernet-services") DESPITE I use the "family bridge" keyword ?

 

ae0 {
         vlan-tagging;
         encapsulation flexible-ethernet-services;
         aggregated-ether-options {
         lacp {
                  active;
                  }
        }
         unit 0 {
               family bridge {
                   interface-mode trunk;
                   vlan-id-list [ 1-2 201-215 1000-1001 ];
             }
        }


If someone can help me, I will be very happy, because encapsulation and vlan trunking is not quite clear on MX platforms.

 

Thank you.

Trusted Expert
dpapana
Posts: 282
Registered: ‎04-01-2011
0

Re: MX-240 (11.1R1.14) : lan encapsulation and VLAN trunking

Hello,

 

Those 2 methods are platform specific, if you have DPC cards then the "Trunk" stile configuration will work fine but on newer MPC cards (Trio chipset) it won't work and therefore you'll have to use the old stile, spliting each vlan into separate unit... 

Regards,
Dumitru Papana
Visitor
bchemin76
Posts: 2
Registered: ‎11-02-2011
0

Re: MX-240 (11.1R1.14) : lan encapsulation and VLAN trunking

Hello,

 

I really thank you for your response.

 

Best Regards,

 

Benoit.

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.