[j-nsp] L3PVN Hub/spoke on same PE

Ihsan Junaidi Ibrahim ihsan.junaidi at gmail.com
Sun Oct 15 06:32:39 EDT 2006


Thanks, it's working now.

On 10/15/06, Damien Holloway <holloway at juniper.net> wrote:
> Try
> Help apropos auto-route export.
>
> Regards
>
> Damien
>
> ______________________________
> Damien Holloway
> Customer Service Trainer
> Juniper Networks Australia Pty Ltd
> Lvl 1, 181 Miller St
> Nth Sydney, NSW 2060
> AUSTRALIA
> +61 419 996 239    mobile
> +61 2 8913 9800    main
> +61 2 8913 9807    direct
> +61 2 8913 9890    fax
> damienh at juniper.net
> www.juniper.net
> ______________________________
>
>
>
> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net <juniper-nsp-bounces at puck.nether.net>
> To: Juniper-NSP <juniper-nsp at puck.nether.net>
> Sent: Sun Oct 15 17:03:18 2006
> Subject: [j-nsp] L3PVN Hub/spoke on same PE
>
> Hi all,
>
> I'm having some problems getting routes from a spoke to be seen from
> the hub and vice versa. All other spokes are located on different PEs
> and there's no problem getting the routes to and fro the hub.
>
> I've created two separate VRFs, one each for the hub and the spoke. A
> show route on respective VRF routing table does not show the routes
> are being exported/imported via BGP.
>
> Is there an alternate way of configuring the VRF so that they can see
> each other on the same PE? The following is the relevant configuration
> snippet.
>
> ---routing-instance--
> Spoke-100 {
>    instance-type vrf;
>    interface fe-0/1/8.100;
>    route-distinguisher 1.1.1.1:100;
>    vrf-import Spoke-import;
>    vrf-export Spoke-export;
>    routing-options {
>        static {
>            route 192.168.0.0/24 next-hop 10.0.0.2;
>        }
>    }
> }
> Hub {
>    instance-type vrf;
>    interface fe-0/1/6.305;
>    route-distinguisher 1.1.1.1:50;
>    vrf-import Hub-import;
>    vrf-export Hub-export;
>    routing-options {
>        static {
>            route 0.0.0.0/0 next-hop 10.1.0.2;
>        }
>    }
> }
>
> ---policy-options---
> policy-statement Hub-import {
>    term a {
>        from {
>            protocol bgp;
>            community [ Spoke-comm ];
>        }
>        then accept;
>    }
>    term b {
>        then reject;
>    }
> }
> policy-statement Hub-export {
>    term a {
>        from protocol [ static direct ];
>        then {
>            community add Hub-comm;
>            accept;
>        }
>    }
>    term b {
>        then reject;
>    }
> }
> policy-statement Spoke-import {
>    term a {
>        from {
>            protocol bgp;
>            community Hub-comm;
>        }
>        then accept;
>    }
>    term b {
>        then reject;
>    }
> }
> policy-statement Spoke-export {
>    term a {
>        from protocol [ static direct ];
>        then {
>            community add Spoke-comm
>            accept;
>        }
>    }
>    term b {
>        then reject;
>    }
> }
> --
> Thank you for your time,
> Ihsan Junaidi Ibrahim
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


-- 
Thank you for your time,
Ihsan Junaidi Ibrahim


More information about the juniper-nsp mailing list