Junos OS

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.

How to leak Imported inet-vpn unicast VFR routes between VRF on same device?

  • 1.  How to leak Imported inet-vpn unicast VFR routes between VRF on same device?

    Posted 09-12-2023 10:44

    Router 1 with 2 RI instance-type VRF's Up and Down.

    Up received routes from neigbor Router 2 and has some other BGP routes from directly connected neigbours.

    I need to inject all BGP routes from VRF Up to Down so this construction export inly BGP from directly connected neigbours:

    routing-instances {
        Down {
            instance-type vrf;              
            protocols {
                bgp {
                    family inet {
                        unicast {
                            rib-group LeakDownUp;                    }                }
                    group 1 {
                        neighbor 6.0.0.1 {
                            peer-as 6;                    }                }            }        }
            interface ge-0/0/3.60;
            route-distinguisher 1.1.1.1:2;
            vrf-target target:1.1.1.1:2;
            vrf-table-label;
        } }

    routing-options {
        rib-groups {
            LeakUpDown {
                import-rib [ Up.inet.0 Down.inet.0 ];
            }
            LeakDownUp {
                import-rib [ Down.inet.0 Up.inet.0 ];
            }
      

    How to move all BGP routes from Up Vrf including those received via  inet-vpn unicast from neigbour iBGP neighbour. 



    ------------------------------
    Uri Ivanov
    ------------------------------