Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.

Bridge Two Aggregated Ethernet Interfaces in Logical System

  • 1.  Bridge Two Aggregated Ethernet Interfaces in Logical System

    Posted 12-11-2022 19:54
    Edited by daa 12-11-2022 21:59
    The below configuration is incorrect, any feedback on the correct implementation of this?

    The bridging setup can be done on the primary instance to avoid this issue, just curious if there is a way to support this.

    MX204
    Two interfaces ae0 and ae1
    Two VLANS, 10 and 20
    Logical-system "B"
    VLANS 10 and 20 should be bridged between interfaces ae0 and ae1 within logical system B.
    VLAN 10 and 20 should support inner tags as well.
    There are other non-bridged VLAN's present on ae0 and ae1.

    set interfaces ae0 vlan-tagging
    set interfaces ae0 encapsulation flexible-ethernet-services
    set interfaces ae1 vlan-tagging
    set interfaces ae1 encapsulation flexible-ethernet-services

    set logical-systems B interfaces ae0 unit 10 encapsulation vlan-bridge
    set logical-systems B interfaces ae0 unit 10 vlan-id 10
    set logical-systems B interfaces ae0 unit 20 encapsulation vlan-bridge
    set logical-systems B interfaces ae0 unit 20 vlan-id 20

    set logical-systems B interfaces ae1 unit 10 encapsulation vlan-bridge
    set logical-systems B interfaces ae1 unit 10 vlan-id 10
    set logical-systems B interfaces ae1 unit 20 encapsulation vlan-bridge
    set logical-systems B interfaces ae1 unit 20 vlan-id 20

    set logical-systems B bridge-domains vlan10 vlan-id 10
    set logical-systems B bridge-domains vlan10 interface ae0.10
    set logical-systems B bridge-domains vlan10 interface ae1.10

    set logical-systems B bridge-domains vlan20 vlan-id 20
    set logical-systems B bridge-domains vlan20 interface ae0.20
    set logical-systems B bridge-domains vlan20 interface ae1.20

    Commit results in:
    [edit logical-systems B bridge-domains vlan10]
    'interface'
    Interface ae0.10 is in more than one routing instance (latest B/default/vlan10) in logical system B
    error: configuration check-out failed

    ------------------------------
    Dan Graham
    ------------------------------