[j-nsp] Juniper MX80 IRB

Emmanuel Halbwachs Emmanuel.Halbwachs at obspm.fr
Tue Jul 27 05:39:22 EDT 2010


Hello,

Tim Vollebregt a écrit (Tue, Jul 27, 2010 at 10:40:54AM +0200) :
> I'm getting errors when changing to this configuration. It is only
> possible to use encapsulation vlan-bridge on unit 0. And when I
> change it to unit 0:
> 
> <message>VLAN Encapsulation: Not allowed on untagged interfaces</message>
> </xnm:error>
> 
> <source-daemon>dcd</source-daemon>
> <edit-path>[edit interfaces ge-1/0/0]</edit-path>
> <statement>unit 0</statement>
> <message> invalid encapsulation</message>
> </xnm:error>
> error: configuration check-out failed
> 
> This issue seems to be really strange as we have it working the 10.x
> way on another router. When I configure Ge-1/0/0 as a routed
> interface it works fine.

This configuration is working for us (MX240, 10.1R1.8):

interfaces {
    ge-1/0/7 {
        flexible-vlan-tagging;
        native-vlan-id 1;
        encapsulation extended-vlan-bridge;
        unit 1 {
            vlan-id 1;
            family bridge;
        }
        unit 210 {
            vlan-id 210;
            family bridge;
        }
        unit 240 {
            vlan-id 240;
            family bridge;
        }
    }
    irb {
        unit 210 {
            family inet {
                address x.x.x.x/24;
            }
        }
        unit 240 {
            family inet {
                address x.x.x.x/23;
                address x.x.x.x/24;
            }
        }
bridge-domains {
    VLAN-1 {
        domain-type bridge;
        vlan-id 1;
        interface ge-1/0/7.1;
    }
    VLAN-210 {
        domain-type bridge;
        vlan-id 210;
        interface ge-1/0/7.210;
        routing-interface irb.210;
    }
    VLAN-240 {
        domain-type bridge;
        vlan-id 240;
        interface ge-1/0/7.240;
        routing-interface irb.240;
    }
}

HTH,

-- 
Emmanuel Halbwachs                       Observatoire de Paris-Meudon
Resp. Réseau/Sécurité                           5 Place Jules Janssen
tel  :  +33 1 45 07 75 54                        F 92195 MEUDON CEDEX
fax  :  +33 1 45 07 01 89       véhicules : 11 av. Marcelin Berthelot


More information about the juniper-nsp mailing list