Junos OS

Expand all | Collapse all

[MX80] - equivalent of cisco's "Redistribute connected" inside routing-instance (vrf) into BGP

Jump to Best Answer
  • 1.  [MX80] - equivalent of cisco's "Redistribute connected" inside routing-instance (vrf) into BGP

    Posted 05-23-2017 00:31
    • an interface is configured inside vrf
    • in our MPLS network
    • I want this interface "direct route" to be redistributed in to MP-BGP
    • so it can advertised to devices in the network under same vrf
    • lo0 inside vrf is automatically advertise
    • but the physical interface direct route, is not advertise

    any reason?

    what extra configuration has to be done?

    5.5.5.1/30 should be advertised MP-BGP

    lo0.2 is working fine

    ------------------------------------------------------------------------------

    routing-instances {
        VPN {
            instance-type vrf;
            interface ge-1/0/9.20;

            interface lo0.2;
            route-distinguisher 100:100;
            vrf-target {
                import target:100:10100;
                export target:100:10110;
            }

    }

    ge-1/0/9 {
        vlan-tagging;
        unit 20 {
            vlan-id 20;
            family inet {
                address 5.5.5.1/30;
            }
        }

    lo0 {
        unit 2 {
            family inet {
                address 6.6.6.6/32;
            }
        }
    }

    group ibgp {
        type internal;
        local-address 1.1.1.1;
        family inet-vpn {
            unicast;
        }
        peer-as 65000;
        neighbor 2.2.2.2;
    }


      



  • 2.  RE: [MX80] - equivalent of cisco's "Redistribute connected" inside routing-instance (vrf) into BGP
    Best Answer

     
    Posted 05-23-2017 01:27

    Hi,

     

    Setting 'vrf-table-label' should help.

    set routing-instances VPN vrf-table-lable

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB12430

     

     

    Cheers,

    Ashvin



  • 3.  RE: [MX80] - equivalent of cisco's "Redistribute connected" inside routing-instance (vrf) into BGP

    Posted 05-23-2017 01:57

    thank you very much,

    it worked 🙂