[j-nsp] multiple bgp routing-instances on one router

Dmitry Cherkasov chd at intercom.net.ua
Fri Nov 11 12:21:18 EST 2005


Hello everybody,

What I try to do is the following:

1) separate routing instances for BGP tables from 3 eBGP neighbors 
2) integral BGP-table for iBGP neighbors

Routes are exported from eBGP tables to iBGP table and from iBGP table
to eBGP tables.

JunOS 7.3, router M7i

Here is the configuration:

interfaces {
	unit 100 {
		description eBGP-neighbor-1
		vlan-id 100;
		family inet {
			address 1.1.1.1/30;
		}
	}

... similar for other eBGP-neighbors ...

        unit 200 {
                description iBGP-neighbor
                vlan-id 200;
                family inet {
                        address 9.9.9.1/30;
                }
        }
}
routing-options {
	router-id 9.9.9.1;
    	autonomous-system 9991;
}
routing-instances {
    Integral {
        description Integral-VRF-Table;
        instance-type vrf;
        interface ge-1/3/0.200;
        route-distinguisher 9991:0;
        vrf-target import target:9991:0;
        vrf-target export target:9991:1111;
        protocols {
            bgp {
                group Local {
                    type internal;
                    neighbor 9.9.9.2;
                }   
            }
        }
    }
    Partial {
        description Partial-VRF-Table;
        instance-type vrf;
        interface ge-1/3/0.100;
        route-distinguisher 9991:1111;
        vrf-target import target:9991:1111;
        vrf-target export target:9991:0;
        protocols {
            bgp {
                group External {
                    type external;
                    neighbor 1.1.1.2 {
                        peer-as 1111;
                    }
                }
            }
        }
    }
}

Yet it does not work: the routes visible by 'show route table
Partial.inet.0' does not appear in 'show route table Integral.inet.0'

Please advice, what I'm doing wrong?


-- 
-------------------------------------------------------
 Dmitry Cherkasov   ISP "Intercom"   (380)44 251-12-88
   http://www.intercom.net.ua    DC1-UANIC CHD1-RIPE


More information about the juniper-nsp mailing list