Junos OS

Expand all | Collapse all

How to use switching and routing on aggregated ethernet interface on MX

Jump to Best Answer
  • 1.  How to use switching and routing on aggregated ethernet interface on MX

    Posted 03-12-2020 11:22

    Hello guys,

     

    I've got a MX104 and an ae0 constisting of 2x 10GE interfaces with "flexible-vlan-tagging" and "encapsulation flexible-ethernet-services". I now want VLAN 333 to be terminate on local router and another VLAN 716 to be switched to a ge-interface by using a bridge-domain.

     

    My problem:

    when I configure "family bridge" on ae0-unit, JUNOS warns "family bridge and rest of the families are mutually exclusive" under sub-interface statement:

     

    ae0 {
           flexible-vlan-tagging;
           encapsulation flexible-ethernet-services;
           aggregated-ether-options {
                   lacp {
                          active;
                   }
           }
           unit 716 {
          ##
          ## Warning: family bridge and rest of the families are mutually exclusive
          ##
          family bridge;

          }

     

    When I configure "encapsulation vlan-bridge" on ae0-unit, JUNOS warns "only family bridge can be configured on this interface" under bridge-domains statement

    ae0 {
           flexible-vlan-tagging;
           encapsulation flexible-ethernet-services;
           aggregated-ether-options {
                   lacp {
                          active;
                   }
          }

          unit 716 {
              encapsulation vlan-bridge;
              vlan-id 716;

          }

     

    bridge-domains {
    CONNECT_SBCv6_SBCv7 {
    vlan-id 716;
    interface ge-0/1/9.716;
    ##
    ## Warning: only family bridge can be configured on this interface
    ##
    interface ae0.716;

     

    This is how VLAN 333 is configured:

    unit 333 {
            vlan-id 333;
            family inet {
            address 172.16.200.34/27;

            }}

     

    Any idea how to solve my issue? THX!!



  • 2.  RE: How to use switching and routing on aggregated ethernet interface on MX
    Best Answer

    Posted 03-12-2020 11:52

    Hello,

    Please post the printout:

     

    show configuration interfaces ae0 | display inheritance

    HTH

    Thx

    Alex



  • 3.  RE: How to use switching and routing on aggregated ethernet interface on MX

    Posted 03-12-2020 13:16

    Great! Thanks for the hint. Actually, there was inet6 configuration inherited from a group.

    After "set interfaces ae0 unit 716 apply-groups-except IPv6" the commit check doesn't fail anymore.



  • 4.  RE: How to use switching and routing on aggregated ethernet interface on MX

    Posted 03-12-2020 13:17

    Hello Oschueten,

     

    I don't have any MX to test right now, but I think that you should not have a VLAN-ID defined on the actual "bridge-domain", the rest appears to be fine.

     

    bridge-domains {
    CONNECT_SBCv6_SBCv7 {
    vlan-id 716;                 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<REMOVE THIS AND TRY COMMIT CHECK
    interface ge-0/1/9.716;
    ##
    ## Warning: only family bridge can be configured on this interface
    ##
    interface ae0.716;

     

     

    Cheers,

     

    Benjamin