vMX

  • 1.  Bridge domain question

    Posted 8 days ago
    Anyone can tell me what are the differences between the following two configurations:

    The first one does not work with the remote port with a mix of vlan and vxlan
    set interfaces ge-0/0/0 vlan-tagging
    set interfaces ge-0/0/0 unit 0 family bridge interface-mode trunk
    set interfaces ge-0/0/0 unit 0 family bridge vlan-id-list 100
    set interfaces irb unit 100 family inet address 10.10.100.1/24
    set bridge-domains BD100 domain-type bridge
    set bridge-domains BD100 vlan-id 100
    set bridge-domains BD100 routing-interface irb.100

    The second one works for the remote with a mix of normal vlan and vxlan
    set interfaces ge-0/0/0 vlan-tagging
    set interfaces ge-0/0/0 encapsulation extended-vlan-bridge
    set interfaces ge-0/0/0 unit 100 vlan-id 100
    set interfaces irb unit 100 family inet address 10.10.100.1/24
    set bridge-domains BD100 vlan-id 100
    set bridge-domains BD100 interface ge-0/0/0.100
    set bridge-domains BD100 routing-interface irb.100

    When I needed a bridge domain, I preferred the first, as it is easy and flexible for native-vlan-id. But today I happened to connect to the bridge domain to the a port with a mix of vlan and vxlan.  It took me a few hours to find this out. But I do not know the what differences between them.

    The remote port is on vQFX.

    The real world, I only know 5000 series does not support the port configuration with a mix vlan and vxlan, but 10000 series supports it.

    So on 5000 series, we have to use

    flexible-vlan-tagging;
     encapsulation flexible-ethernet-services;

    But on 10000, we just use interface-mode trunk.  that is is.

    But for the device (here vMX) with no vXLAN configured,  how does it know the remote port have vxlan on it ?


    thanks  a lot !!!