[j-nsp] copy vpn routes to inet.0

Richmond, Jeff Jeff.Richmond at frontiercorp.com
Wed Dec 24 02:20:51 EST 2008


Here is a sample from one of my lab routers. I am just using a loopback IP inside VRF 300, but as you can see, it is now seen in inet.0.

jeff at r2> show configuration routing-instances 300
description "Customer 2 VRF";
instance-type vrf;
interface lo0.300;
vrf-target target:65100:300;
vrf-table-label;
routing-options {
    static {
        route 0.0.0.0/0 next-table inet.0;
    }
    auto-export {
        family inet {
            unicast {
                rib-group CUST300-RIB;
            }
        }
    }
}


jeff at r2> show configuration routing-options rib-groups
CUST300-RIB {
    import-rib [ inet.0 300.inet.0 ];
    import-policy RESTRICT-VRF300;
}


jeff at r2> show configuration interfaces lo0 unit 300
family inet {
    address 10.99.99.1/32;
}

jeff at r2> show route 10.99.99.1
inet.0: 152 destinations, 167 routes (104 active, 0 holddown, 48 hidden)
+ = Active Route, - = Last Active, * = Both

10.99.99.1/32      *[Direct/0] 14:18:57
                    > via lo0.300

300.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.99.99.1/32      *[Direct/0] 14:18:57
                    > via lo0.300


________________________________________
From: juniper-nsp-bounces at puck.nether.net [juniper-nsp-bounces at puck.nether.net] On Behalf Of snort bsd [snortbsd at yahoo.com.au]
Sent: Tuesday, December 23, 2008 3:27 PM
To: juniper-nsp
Subject: [j-nsp] copy vpn routes to inet.0

Hi all:

Could those routes in the L3VPN table be copied to inet.0? I tried to use policy and it doesn't seem to be working:

term l3vpn->inet.0 {
    from {
        rib l3vpn.inet.0;
        route-filter 100.100.0.0/16 orlonger;
    }
    to rib inet.0;
    then {
        accept;
    }
}

_dave


      Stay connected to the people that matter most with a smarter inbox. Take a look http://au.docs.yahoo.com/mail/smarterinbox
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list