[j-nsp] Routed VLAN Interfaces on MX

Michael Loftis mloftis at wgops.com
Fri Nov 13 19:16:18 EST 2015


On Friday, November 13, 2015, Michael Loftis <mloftis at wgops.com> wrote:

> If you don't need to switch the subintf at all you can just do...
> set int ae0 flexible-vlan-tagging
> set int ae0 .....
> set int ae0 unit 41 vlan-id family inet ....
>
> instead of doing encap vlan-bridge on the unit 41 and all the other
> related bridge-domain stuff


Almost forgot! Be sure to check the L2 and L3 MTUswhen you turn on vlan
tagging. Most of the time JunOS will not help you out by correctly bumping
the L2 MTU like Cisco. Big trap. It kind of varies between EX and MX. I've
taken to just being explicit on all L2 and L3 MTUs.


>
>
> On Fri, Nov 13, 2015 at 1:12 PM, Josh Baird <joshbaird at gmail.com
> <javascript:;>> wrote:
> > Hi,
> >
> > I apologize for the basic question as I'm a new Junos user.  I'm
> attempting
> > to convert the following basic config from a Cisco NPE-G1:
> >
> > interface GigabitEthernet0/3
> >  desc 'Physical link to EX'
> >
> > interface GigabitEthernet0/3.41
> >   encapsulation dot1q
> >   ip address 1.1.1.2/30
> >
> > On the MX, I am trying to configure an agg between the MX and other
> device
> > (EX), so this is the config that I have came up with:
> >
> > # interfaces
> > ae0 {
> >     flexible-vlan-tagging;
> >     encapsulation flexible-ethernet-services;
> >     aggregated-ether-options {
> >         lacp {
> >             active;
> >             periodic fast;
> >         }
> >     }
> >     unit 41 {
> >         encapsulation vlan-bridge;
> >         vlan-id 41;
> >     }
> > }
> >
> > # interfaces irb
> > irb {
> >     unit 41 {
> >         family inet {
> >             address 1.1.1.2/30
> >         }
> >     }
> > }
> >
> >
> > # bridge-domain
> > bridge-domains {
> >     vlan41 {
> >         vlan-id 41;
> >         interface ae0.41;
> >         routing-interface irb.41;
> >     }
> > }
> >
> > Does this configuration look correct?  Is all of this necessary?  I
> realize
> > there are several different ways to handle this in Junos.
> >
> > Thanks for any suggestions or input.
> >
> > Josh
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net <javascript:;>
> > https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>
>
> --
>
> "Genius might be described as a supreme capacity for getting its possessors
> into trouble of all kinds."
> -- Samuel Butler
>


-- 

"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler


More information about the juniper-nsp mailing list