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.