Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  MAC-VRF Evpn Vxlan

    This message was posted by a user wishing to remain anonymous
    Posted 08-23-2023 10:45
    This message was posted by a user wishing to remain anonymous

    Hello Juniper community,

    I'm facing a roadblock in our transition to VXLAN on Juniper switches. We have a heterogeneous architecture with both Cisco and Juniper switches, and we've chosen to adopt MAC-VRF. Given the existing configuration on Cisco switches, we wanted to create a MAC-VRF for each VLAN (VLAN-based). What we've observed is that, unlike Cisco, we're required to configure a logical interface for each MAC-VRF on Juniper switches, and a logical interface cannot be part of multiple MAC-VRFs.

    Example:

    ge-0/0/1 {
        description "ESX TEST";
        flexible-vlan-tagging;
        mtu 9000;
        encapsulation extended-vlan-bridge;
        unit 0 {
            description "TEST VxLAN";
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }

    MACVRF-2023 {
        instance-type mac-vrf;
        protocols {
            evpn {
                encapsulation vxlan;
                extended-vni-list 102023;
            }
        }
        vtep-source-interface lo0.0;
        service-type vlan-based;
        interface ge-0/0/1.0;
        route-distinguisher 10.33.63.12:34790;
        vrf-target target:65000:102023;
        vlans {
            CLIENT_LAN {
                vlan-id 2023;
                vxlan {
                    vni 102023;
                }
            }
        }
    }

    MACVRF-2024 {
        instance-type mac-vrf;
        protocols {
            evpn {
                encapsulation vxlan;
                extended-vni-list 102023;
            }
        }
        vtep-source-interface lo0.0;
        service-type vlan-based;
        interface ge-0/0/1.0;                                         // not considered, error message: interface used by another MAC-VRF//
        route-distinguisher 10.33.63.12:34791;
        vrf-target target:65000:102024;
        vlans {
            CLIENT_LAN {
                vlan-id 2024;
                vxlan {
                    vni 102024;
                }
            }
        }
    }

     My question: Is there a way to associate the same logical interface with multiple MAC-VRFs (aside from creating a logical interface per physical interface per VLAN, ? 

    Thank you in advance for your assistance.

    Best regards