[j-nsp] Trunking routed vlan interfaces on a Juniper mx960

Brian Fitzgerald FitzgeraldB at camosun.bc.ca
Fri Aug 21 15:47:00 EDT 2009


Hello Michael

An alternate is to use the flexible-services that the MX has available -
leaves you able to use other vlans on the ports for direct routed use,
logical routers, QinQ tagging, VPLS, etc.

HSRP is Cisco specific - the equivalent with everyone else is VRRP -
which most Cisco gear also supports

The VSTP spanning tree protocol used on the MX (essentially PVST+) is
something I tinkered with, but we never implemented, so double-check my
syntax.  As well, it does limit you to using the same vlan tags and a
matching "normalizing" bridge group tag on all interfaces that are part
of the bridge group - a fixed requirement on TCAM based Cisco gear, but
NOT on the MX (which allows you to bridge together dissimilar tags on
each interface that are part of a bridge group, if you aren't using
VSTP)

Example:


interfaces {
    ge-2/0/0 {
        flexible-vlan-tagging;
        encapsulation flexible-ethernet-services;
        unit 200 {
            encapsulation vlan-bridge;
            vlan-id 200;
        }
    }
    ge-2/1/0 {
        flexible-vlan-tagging;
        encapsulation flexible-ethernet-services;
        unit 200 {
            encapsulation vlan-bridge;
            vlan-id 200;
        }
    }
    irb {
        unit 200 {
            family inet {
                address 10.10.10.2/26;
                vrrp-group 1 {
                    virtual-address 10.10.10.1;
                    priority 10; 
                }
            }
        }
    }
}
protocols {
    vstp {
        vlan 200 {
             interface ge-2/0/0.200; 
             interface ge-2/1/0.200; 
        }
    }
}
  
bridge-domains {
    vlan200 {
        domain-type bridge;
        vlan-id 200;
        interface ge-2/0/0.200;
        interface ge-2/1/0.200;
        routing-interface irb.200
    }
}

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Michael Phung
Sent: Friday, August 21, 2009 9:24 AM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] Trunking routed vlan interfaces on a Juniper mx960

Hello everyone,

I just got my hands on a Juniper mx router and I'm starting the
initial config in preparation to convert from Cisco. As I configure
the interfaces, I can't seem to figure our how to create a routed vlan
interface and have the ability to trunk it down multiple physical
interfaces. I've looked up on the the web but was unable to find
anything that direct describes what I'm trying to achieve.

Below is a sample config from a Cisco;

!
spanning-tree mode pvst
spanning-tree vlan 200 priority 8192
!
interface GigabitEthernet2/1
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 200
 switchport mode trunk
 switchport nonegotiate
!
interface GigabitEthernet2/10
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 200
 switchport mode trunk
 switchport nonegotiate
!
interface Vlan200
 ip address 10.10.10.2 255.255.255.192
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 standby ip 10.10.10.1
!

Can this be done on a MX router? if so, can a sample config be provided?

Any help would be much appreciated.

Michael
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list