Routing
Reply
Visitor
Lupo
Posts: 2
Registered: ‎05-20-2011
0

mx240 - ex3200 - InterVlan Tag

[ Edited ]

Hi,

 

I am new in Junos and I would like to configure my router. 

Router : Juniper MX240

Switches : EX3200

 

JUNOS VERSION : 10.4

 

Here the topology :

 

 

I found the configuration for the EX but for the Router I don't how can I configure the VLAN and how can I tag them ?

 

Thanks for your help.

 

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

Re: mx240 - ex3200 - InterVlan Tag

Hello,

First you'll have to configure your interfaces, if you use MPC cards it should look somenting like this:

interfaces {

    ae0 {

        vlan-tagging;

        encapsulation flexible-ethernet-services;

        unit 10 {

            encapsulation vlan-bridge;

            vlan-id 10;

        }

        unit 30 {

            encapsulation vlan-bridge;

            vlan-id 30;

        }

        unit 100 {

            encapsulation vlan-bridge;

            vlan-id 100;

        }

}

interfaces {

    ae1 {

        vlan-tagging;

        encapsulation flexible-ethernet-services;

        unit 10 {

            encapsulation vlan-bridge;

            vlan-id 10;

        }

        unit 30 {

            encapsulation vlan-bridge;

            vlan-id 30;

        }

        unit 100 {

            encapsulation vlan-bridge;

            vlan-id 100;

        }

}

 

Next you'll have to configure the bridge domain:

 

 

 

bridge-domains {

    vlan10 {

        domain-type bridge;

        vlan-id 10;

        interface ae0.10;

        interface ae1.10;

    }

    vlan30 {

        domain-type bridge;

        vlan-id 30;

        interface ae0.30;

        interface ae1.30;

    }

    vlan100 {

        domain-type bridge;

        vlan-id 100;

        interface ae0.100;

        interface ae1.100;

    }

}

In your topology you'll have to use some *STP protocols, otherwise you'll create a loop...

 

protocols {

    mstp {

        configuration-name Core_Network;

        revision-level 1;

        interface ae0;

        interface ae1;

        msti 1 {

            vlan 10;

        }

        msti 2 {

            vlan 30;

        }

        msti 3 {

            vlan 100;

        }

}

 

If you need IRB(alias Cisco SVI) you can configure the  "routing-interface" under bridge domain.

It's may read the following:

http://www.juniper.net/techpubs/software/junos/junos91/mx-solutions-guide/configuring-basic-mx-serie...

Regards,
Dumitru Papana
Visitor
Lupo
Posts: 2
Registered: ‎05-20-2011
0

Re: mx240 - ex3200 - InterVlan Tag

Thanks.

 

I am gonna try.

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